diff options
author | Paul Cercueil <[email protected]> | 2019-07-01 13:36:06 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2019-08-07 14:33:39 -0700 |
commit | 568b9de48d80bcf1a92e2c4fa67651abbb8ebfe2 (patch) | |
tree | 08e313f08412be78fbeb60d7c4fa728b96dc4f09 /lib/test_overflow.c | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
clk: ingenic/jz4740: Fix "pll half" divider not read/written properly
The code was setting the bit 21 of the CPCCR register to use a divider
of 2 for the "pll half" clock, and clearing the bit to use a divider
of 1.
This is the opposite of how this register field works: a cleared bit
means that the /2 divider is used, and a set bit means that the divider
is 1.
Restore the correct behaviour using the newly introduced .div_table
field.
Signed-off-by: Paul Cercueil <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions