[PATCH 2/2] i2c: mediatek: remove duplicate entry in mt_i2c_regs_v1[]

Martin Schiller ms at dev.tdt.de
Wed Apr 16 08:29:19 CEST 2025


This removes a duplicate entry in mt_i2c_regs_v1[].

Signed-off-by: Martin Schiller <ms at dev.tdt.de>
---
 drivers/i2c/mtk_i2c.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/i2c/mtk_i2c.c b/drivers/i2c/mtk_i2c.c
index 6edf3f44eca..55381dbeced 100644
--- a/drivers/i2c/mtk_i2c.c
+++ b/drivers/i2c/mtk_i2c.c
@@ -143,7 +143,6 @@ static const uint mt_i2c_regs_v1[] = {
 	[REG_RSV_DEBUG] = 0x44,
 	[REG_HS] = 0x48,
 	[REG_SOFTRESET] = 0x50,
-	[REG_SOFTRESET] = 0x50,
 	[REG_DCM_EN] = 0x54,
 	[REG_DEBUGSTAT] = 0x64,
 	[REG_DEBUGCTRL] = 0x68,
-- 
2.39.5



More information about the U-Boot mailing list