aboutsummaryrefslogtreecommitdiff
path: root/firmware/bnx2x-e1-5.2.7.0.fw.ihex
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>2009-11-06 21:51:36 +0900
committerBen Dooks <ben-linux@fluff.org>2009-12-09 00:19:12 +0000
commit597fe310f16d8246eec856326aa497bfa1b5bfa3 (patch)
treec8093cf8803bfe3793c46edcea965f9583e35e93 /firmware/bnx2x-e1-5.2.7.0.fw.ihex
parent8f588e40c788e63756ca1028c253f9f663d7d1c5 (diff)
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>
Diffstat (limited to 'firmware/bnx2x-e1-5.2.7.0.fw.ihex')
0 files changed, 0 insertions, 0 deletions