Messages in this thread | | | Date | Fri, 2 Jul 2021 09:53:08 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH] i2c: mpc: Restore reread of I2C status register |
| |
On Fri, Jul 02, 2021 at 03:27:24PM +1200, Chris Packham wrote: > Prior to commit 1538d82f4647 ("i2c: mpc: Interrupt driven transfer") the > old interrupt handler would reread MPC_I2C_SR after checking the CSR_MIF > bit. When the driver was re-written this was removed as it seemed > unnecessary. However as it turns out this is necessary for i2c devices > which do clock stretching otherwise we end up thinking the bus is still > busy when processing the interrupt. > > Fixes: 1538d82f4647 ("i2c: mpc: Interrupt driven transfer") > Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Applied to for-current, thanks!
[unhandled content-type:application/pgp-signature] | |