alistair23-linux/drivers/i2c
Todd Poynor cb63c62d8e i2c: tegra: recover from spurious interrupt storm
Re-init the I2C controller when an IRQ arrives with no
I2C_INT_STATUS bits set to indicate why the interrupt was sent.
Storms of such mystery interrupts are infrequently seen.

Dump some more status when these interrupts arrive.  Set an error
for the current request and wake up the requester (rather than
timing out the request or possibly silently ignoring the interrupts).

If the I2C block is inside the DVC, also ACK the DVC I2C transfer
done interrupt in the ISR error return path, as is done for the
normal return path.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
[swarren: Fix minor checkpatch whitespace issue, commit tag]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2011-05-11 06:45:50 +01:00
..
algos i2c-algo-bit: Call pre/post_xfer for bit_test 2011-04-17 10:20:19 +02:00
busses i2c: tegra: recover from spurious interrupt storm 2011-05-11 06:45:50 +01:00
muxes i2c: Add generic I2C multiplexer using GPIO API 2011-01-10 22:11:23 +01:00
i2c-boardinfo.c i2c-boardinfo: Fix typo in comment 2011-03-20 14:50:52 +01:00
i2c-core.c i2c: Improve deprecation warnings 2011-04-17 10:20:19 +02:00
i2c-core.h
i2c-dev.c i2c-dev: Use standard bus notification mechanism 2011-03-20 14:50:52 +01:00
i2c-mux.c i2c: Mark i2c_adapter.id as deprecated 2010-11-15 22:40:38 +01:00
i2c-smbus.c
Kconfig Revert "i2c: Fix Kconfig dependencies" 2010-11-22 11:27:33 -02:00
Makefile i2c: Deprecate i2c_driver.attach_adapter and .detach_adapter 2011-03-20 14:50:53 +01:00