diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-04-02 12:42:51 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-12-26 14:35:56 +0100 |
commit | 478388b32ac83fc44a75d63ae819aadb220c83ec (patch) | |
tree | e25ec8de54e851680e29730c05b29cf2e6e75f4e /arch | |
parent | 8437c2f0e4fafb9a31dd260704cc6b7a22bf33f8 (diff) |
i2c-imx: add gpio recovery functionality
If the I2C is disturbed by other signals sometimes the i2c-imx bus gets stuck
with SDA being low.
This adds a recovery function to the bus driver.
When e.g. a device driver detects a stuck bus
int i2c_recover_bus(struct i2c_adapter *adap)
can be called to try to recover the bus.
(cherry picked from commit 88731dc0e8b6ba244e097b412b302acf3b9cc889)
Conflicts:
arch/arm/boot/dts/imx6qdl-apalis.dtsi
drivers/i2c/busses/i2c-imx.c
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions