Skip to content
Commit 310ef930 authored by Gabriel Fernandez's avatar Gabriel Fernandez Committed by Patrice Chotard
Browse files

video: stm32: stm32_ltdc: fix the check of return value of clk_set_rate()



The clk_set_rate() function returns rate as an 'ulong' not
an 'int' and rate > 0 by default.

This patch avoids to display the associated warning when
the set rate function returns the new frequency.

Fixes: aeaf3306 ("video: stm32: stm32_ltdc: add bridge to display controller")
Signed-off-by: default avatarGabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent 6ed21f3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment