u-boot/drivers/video/stm32
Gabriel Fernandez 310ef93028 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: aeaf330649 ("video: stm32: stm32_ltdc: add bridge to display controller")
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-03-15 09:11:11 +01:00
..
Kconfig video: add support of STM32 MIPI DSI controller driver 2019-10-13 23:38:12 +02:00
Makefile video: add support of STM32 MIPI DSI controller driver 2019-10-13 23:38:12 +02:00
stm32_dsi.c gpio: stm32: create include file for driver private data 2021-11-10 17:03:36 +01:00
stm32_ltdc.c video: stm32: stm32_ltdc: fix the check of return value of clk_set_rate() 2022-03-15 09:11:11 +01:00