diff options
author | Gabriel Fernandez <gabriel.fernandez@foss.st.com> | 2022-02-01 14:02:14 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-03-15 09:11:11 +0100 |
commit | 310ef93028014914efd9c5a210443b378670f5e3 (patch) | |
tree | 85dc9df7b0c6f60f98f31298e8c40d60e85e3236 /drivers/ram/stm32mp1/stm32mp1_ddr.c | |
parent | 6ed21f3d704370d5b1a5db8ee953fd7c5cea08d6 (diff) |
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: aeaf330649e8 ("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>
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_ddr.c')
0 files changed, 0 insertions, 0 deletions