# Re: \[v3 03/24\] clk: mediatek: Fix corner case of tuner\_en\_reg

- From: Stephen Boyd \<sboyd@kernel.org\>
- Date: 2021-09-14 22:18:08 
- List: linux-mediatek
- Page: https://ratatoskr.run/linux-mediatek/2021/09/1508672
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/09/1507221/t.md

```text
Quoting Chun-Jie Chen (2021-09-13 19:16:12)
> 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 <redacted>
> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
> ---

Applied to clk-next

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
```
