i2c: mediatek: fixing the incorrect register offset
authorKewei Xu <kewei.xu@mediatek.com>
Fri, 17 Sep 2021 10:14:10 +0000 (18:14 +0800)
committerWolfram Sang <wsa@kernel.org>
Sat, 2 Oct 2021 06:27:25 +0000 (08:27 +0200)
commitb8228aea5a19d5111a7bf44f7de6749d1f5d487a
tree2e5936ca803402423ff88ac1af04f8659d4956bd
parent647d908816a78d604d47ea925c934fd88375b4fd
i2c: mediatek: fixing the incorrect register offset

The reason for the modification here is that the previous
offset information is incorrect, OFFSET_DEBUGSTAT = 0xE4 is
the correct value.

Fixes: 25708278f810 ("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>
drivers/i2c/busses/i2c-mt65xx.c