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

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

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