clk: clk_stm32f: Fix stm32_clk_get_rate() for timer
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 7 Feb 2018 09:44:46 +0000 (10:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:45:37 +0000 (21:45 -0400)
commit61803a95a1e702275afe372422a97e94c655fd9d
treef0fe6c1487c8ec940593186873726e0727a40627
parent5120a083e797aec3180fbda9ab845486da990909
clk: clk_stm32f: Fix stm32_clk_get_rate() for timer

For timer clock, an additionnal prescaler is used which was
not taken into account previously.

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