Re: [PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

Heiko Schocher
2023-04-11T11:03:05Z

Hello Angelo,

On 05.04.23 00:59, Angelo Dureghello wrote:
> This driver is actually used for powerpc and m68k/ColdFire.
>
> On ColdFire SoC's, interrupt flag get not set if IIEN flag (mbcr bit6,
> interrupt enabled) is not set appropriately before each transfert.
> As a result, the transfert hangs forever waiting for IIEN.
> This patch set IIEN before each transfert, while considering this fix
> as not harming powerpc arch.
>
> Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
> ---
> arch/m68k/include/asm/fsl_i2c.h | 10 ++++++++++
> drivers/i2c/fsl_i2c.c | 16 +++++++++-------
> 2 files changed, 19 insertions(+), 7 deletions(-)

Applied to u-boot-i2c.git master

Thanks!