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

Heiko Schocher hs at denx.de
Wed Apr 16 11:10:51 CEST 2025


Hello Martin,

On 16.04.25 08:29, Martin Schiller wrote:
> 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,
> 

good catch, thanks!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list