]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: clk_stm32: Add .set_rate callback
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 29 Jan 2018 17:14:14 +0000 (18:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2018 17:48:33 +0000 (12:48 -0500)
commit05e23dd489685c99be4ff4fe1c41543a3688dceb
treec05842894508902d890263ab6304bc65ad532509
parenta70c05f10a7f02be7f9edd31f35058b098313820
clk: clk_stm32: Add .set_rate callback

Since 'commit f4fcba5c5baa ("clk: implement clk_set_defaults()")'
STM32F4 family board can't boot.

Above patch calls clk_set_rate() for all nodes with assigned-clock-rates
property. Clock driver for STM32F family doesn't implement .set_rate
callback which make clk_set_defaults() exit on error and prevent board
to boot.

Fixes: f4fcba5c5baa ("clk: implement clk_set_defaults()")
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/clk/clk_stm32f.c