aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSonic Zhang <[email protected]>2011-06-23 17:07:54 -0400
committerBen Dooks <[email protected]>2011-06-27 23:06:48 +0100
commit4a65163e3b2190445c1d94daa21d09c5af604d97 (patch)
treeb70b2f85cfbbc2885b7338d04223de00986dc141 /net/lapb/lapb_timer.c
parentaf4087e0e682df12bdffec5cfafc2fec9208716e (diff)
i2c-bfin-twi: abort transfer is MEM bit is reset unexpectedly
Sometimes, the first I2C transmit interrupt is not serviced in time (like when higher priority interrupts take too long). Since the RESTART bit is not set before the next I2C clock, when the TWI handler is finally called, the I2C session is aborted (MEM bit is reset) and both SMITSERV and MCOMP int status bits are set. So when this happens, abort the transfer. Reported-by: Isabelle Leonardi <[email protected]> Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions