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>
This commit is contained in:

committed by
Tom Rini

parent
5120a083e7
commit
61803a95a1
@@ -45,6 +45,11 @@ enum soc_family {
|
||||
STM32F7,
|
||||
};
|
||||
|
||||
enum apb {
|
||||
APB1,
|
||||
APB2,
|
||||
};
|
||||
|
||||
struct stm32_rcc_clk {
|
||||
char *drv_name;
|
||||
enum soc_family soc;
|
||||
|
Reference in New Issue
Block a user