diff options
author | Chun-Jie Chen <[email protected]> | 2021-09-14 10:16:12 +0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-09-14 15:05:37 -0700 |
commit | cb95c169e95996ea9e63b9e38aa914402cfde7e3 (patch) | |
tree | e06d42493a3999e6fef4537aa0f862789ec8824d /drivers/usb/cdns3/cdns3-trace.c | |
parent | 01404648df2055ba79f85858528b723d678bd2a8 (diff) |
clk: mediatek: Fix corner case of tuner_en_reg
On MT8195, tuner_en_reg is moved to register offest 0x0.
If we only judge by tuner_en_reg, it may lead to wrong address.
Add tuner_en_bit to the check condition. And it has been confirmed,
on all the MediaTek SoCs, bit0 of offset 0x0 is always occupied by
clock square control.
Signed-off-by: Chun-Jie Chen <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Link: https://lore.kernel.org/r/[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