Skip to content
Snippets Groups Projects
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: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent 6ed21f3d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment