diff options
| author | Adam Wujek <[email protected]> | 2021-12-03 14:12:07 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-01-25 00:51:27 +0000 |
| commit | 2a8b539433e111c4de364237627ef219d2f6350a (patch) | |
| tree | 71c820c5290797828d96e365420e20d4e82003fe /fs/proc/array.c | |
| parent | Linux 5.17-rc1 (diff) | |
| download | kernel-2a8b539433e111c4de364237627ef219d2f6350a.tar.gz kernel-2a8b539433e111c4de364237627ef219d2f6350a.zip | |
clk: si5341: fix reported clk_rate when output divider is 2
SI5341_OUT_CFG_RDIV_FORCE2 shall be checked first to distinguish whether
a divider for a given output is set to 2 (SI5341_OUT_CFG_RDIV_FORCE2
is set) or the output is disabled (SI5341_OUT_CFG_RDIV_FORCE2 not set,
SI5341_OUT_R_REG is set 0).
Before the change, divider set to 2 (SI5341_OUT_R_REG set to 0) was
interpreted as output is disabled.
Signed-off-by: Adam Wujek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Robert Hancock <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
