diff options
author | Claudiu Beznea <[email protected]> | 2021-10-11 14:27:14 +0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-10-26 18:27:43 -0700 |
commit | 0ef99f8202c5078a72c05af76bfaed2ea4daab19 (patch) | |
tree | 6a2d76aaa74d430fd4bc51ac1345c491a78b1c8c /drivers/usb/cdns3/cdns3-trace.c | |
parent | a27748adeacab6e1fa957cdc4838f3cdedce3ce5 (diff) |
clk: at91: clk-master: fix prescaler logic
When prescaler value read from register is MASTER_PRES_MAX it means
that the input clock will be divided by 3. Fix the code to reflect
this.
Fixes: 7a110b9107ed8 ("clk: at91: clk-master: re-factor master clock")
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions