Skip to content

Commit 9d438db

Browse files
Kewei Xugregkh
authored andcommitted
i2c: mediatek: fixing the incorrect register offset
[ Upstream commit b8228ae ] The reason for the modification here is that the previous offset information is incorrect, OFFSET_DEBUGSTAT = 0xE4 is the correct value. Fixes: 2570827 ("i2c: mediatek: Add i2c support for MediaTek MT8183") Signed-off-by: Kewei Xu <kewei.xu@mediatek.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Qii Wang <qii.wang@mediatek.com> Signed-off-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f3492c4 commit 9d438db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/i2c/busses/i2c-mt65xx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ static const u16 mt_i2c_regs_v2[] = {
195195
[OFFSET_CLOCK_DIV] = 0x48,
196196
[OFFSET_SOFTRESET] = 0x50,
197197
[OFFSET_SCL_MIS_COMP_POINT] = 0x90,
198-
[OFFSET_DEBUGSTAT] = 0xe0,
198+
[OFFSET_DEBUGSTAT] = 0xe4,
199199
[OFFSET_DEBUGCTRL] = 0xe8,
200200
[OFFSET_FIFO_STAT] = 0xf4,
201201
[OFFSET_FIFO_THRESH] = 0xf8,

0 commit comments

Comments
 (0)