[PATCH v2] i2c: mediatek: fix WRRD for SoCs without auto_restart option

Andi Shyti andi.shyti at kernel.org
Tue Jul 14 15:25:52 PDT 2026


Hi Roman,

On Thu, Jul 09, 2026 at 04:31:29PM +0300, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333 at protonmail.com>
> 
> MediaTek mt65xx family SoCs have no auto restart, however, they still
> support the WRRD mode in the hardware. Because auto_restart is set to 0,
> the WRRD mode will be never enabled, leading to read errors.
> 
> Fix this by removing auto_restart check from the WRRD enable path.
> 
> Fixes: b49218365280 ("i2c: mediatek: fix potential incorrect use of I2C_MASTER_WRRD")
> Cc: stable at vger.kernel.org
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Signed-off-by: Roman Vivchar <rva333 at protonmail.com>

merged to i2c/i2c-fixes.

Thanks,
Andi



More information about the Linux-mediatek mailing list