Shinya Kuribayashi
597fe310f1
i2c-designware: Skip RX_FULL and TX_EMPTY bits on tx abort errors
...
Suppose TX_ABRT occurs in the middle of processing i2c_msg msgs[], and
a STOP condition has already been generated on the bus. In this case,
subsequent i2c_dw_xfer_msg() might initiate a new and unnecessary I2C
transaction, which we'd have to avoid.
Furthermore, anytime TX_ABRT is set, the contents of tx/rx buffers are
flushed, so we don't have to process RX_FULL and TX_EMPTY.
Disable interrupts, and skip them.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-12-09 00:19:12 +00:00
..
2009-03-25 10:21:35 +00:00
2009-12-06 17:06:23 +01:00
2009-12-06 17:06:23 +01:00
2009-01-26 21:19:52 +01:00
2009-01-07 14:29:18 +01:00
2009-10-04 22:53:45 +02:00
2009-10-04 22:53:45 +02:00
2009-06-16 22:42:16 +01:00
2009-06-16 22:42:16 +01:00
2009-06-16 22:42:16 +01:00
2009-06-22 01:43:32 +01:00
2009-07-15 00:03:56 +01:00
2009-12-09 00:19:12 +00:00
2009-01-26 21:19:52 +01:00
2009-06-16 22:42:16 +01:00
2009-01-26 21:19:52 +01:00
2009-12-06 17:06:27 +01:00
2009-07-08 10:30:03 -07:00
2009-11-02 23:28:47 +00:00
2009-12-06 17:06:22 +01:00
2009-10-04 22:53:45 +02:00
2009-02-24 19:19:49 +01:00
2009-11-02 23:28:47 +00:00
2009-12-06 17:06:22 +01:00
2008-08-10 22:56:15 +02:00
2009-05-05 08:39:24 +02:00
2009-06-16 22:42:16 +01:00
2009-08-20 22:27:58 +01:00
2009-01-26 21:19:52 +01:00
2009-01-26 21:19:52 +01:00
2009-03-28 21:34:45 +01:00
2009-06-16 22:42:16 +01:00
2009-11-07 13:10:46 +01:00
2009-06-16 22:42:16 +01:00
2009-11-21 19:01:05 +00:00
2009-12-06 17:06:22 +01:00
2009-07-22 00:28:39 +02:00
2009-07-30 19:38:04 +02:00
2009-04-07 10:23:34 +01:00
2009-04-07 10:23:34 +01:00
2009-09-26 01:42:07 -04:00
2009-05-13 16:59:40 +09:00
2009-08-23 18:03:19 +09:00
2009-01-26 21:19:52 +01:00
2009-07-15 00:03:56 +01:00
2009-10-04 22:53:45 +02:00
2009-12-06 17:06:23 +01:00
2009-12-06 17:06:23 +01:00
2009-08-20 22:27:58 +01:00
2009-12-06 17:06:29 +01:00
2009-09-18 22:45:43 +02:00
2009-06-16 22:42:16 +01:00
2009-01-26 21:19:52 +01:00
2009-10-04 22:53:45 +02:00
2009-12-06 17:06:21 +01:00
2009-12-06 17:06:21 +01:00
2009-09-18 22:45:47 +02:00
2009-02-24 19:19:49 +01:00