clk: clk_stm32f: Fix stm32_clk_get_rate()
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 8 Feb 2018 16:20:45 +0000 (17:20 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:45:37 +0000 (21:45 -0400)
commitaa230be4bf69956ed8fe09cdf9c5fada1750b251
tree6ac02f0a1d4c1b92a16b2aa9c7eb4f2b7273b8e7
parent167f2c90f6b4b0561db610fb24f9a5519e0baefd
clk: clk_stm32f: Fix stm32_clk_get_rate()

Wrong parameter was passed to stm32_clk_pll48clk_rate().
sysclk (PLL_p output value) was passed instead of VCO value.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/clk/clk_stm32f.c