Re: [PATCH v2] i2c: mediatek: fix WRRD for SoCs without auto_restart option
Andi Shyti <[email protected]>
| Newsgroups | org.kernel.vger.linux-i2c,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Hi Roman, On Thu, Jul 09, 2026 at 04:31:29PM +0300, Roman Vivchar via B4 Relay wrote: > From: Roman Vivchar <[email protected]> > > 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: [email protected] > Reviewed-by: AngeloGioacchino Del Regno <[email protected]> > Signed-off-by: Roman Vivchar <[email protected]> merged to i2c/i2c-fixes. Thanks, Andi