diff options
author | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2022-05-23 17:33:29 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-06-15 17:24:12 -0700 |
commit | edabcf71d100fd433a0fc2d0c97057c446c33b2a (patch) | |
tree | 03502b77162e63a48a257924a523ab7a61b59dbc /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | b348c26c28a96d15f832974c5b54a3d6bbe4e7d8 (diff) |
clk: mediatek: reset: Fix written reset bit offset
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@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220523093346.28493-3-rex-bc.chen@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions