Re: [PATCH 1/7] clk: mediatek: reset: Correct the logic of setting register
From: Chen-Yu Tsai
Date: Tue Apr 19 2022 - 01:49:01 EST
Hi,
On Mon, Apr 18, 2022 at 9:22 PM Rex-BC Chen <rex-bc.chen@xxxxxxxxxxxx> wrote:
>
The subject could be written as "Fix written reset bit offset" to make it
more specific.
> Original assert/deassert bit is BIT(0), but it's more resonable to modify
> them to BIT(id % 32) which is based on id.
>
> This patch will not influence any previous driver because the reset is
> only used for thermal. The id (MT8183_INFRACFG_AO_THERM_SW_RST) is 0.
>
> Fixes: 64ebb57a3df6 ("clk: reset: Modify reset-controller driver")
> Signed-off-by: Rex-BC Chen <rex-bc.chen@xxxxxxxxxxxx>
Otherwise,
Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>