diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-04-02 12:42:51 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-10 23:11:44 +0100 |
commit | b5480282f42e3d6f5d7875a495a1f9f6a803088e (patch) | |
tree | 503a0a2eb9a96ba17803a852f8c3aad9414e7eb3 /arch/arm/configs/nuc950_defconfig | |
parent | fc0d0a29ab0e6fc0de72b63fba80845cc554d543 (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.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 88731dc0e8b6ba244e097b412b302acf3b9cc889)
(cherry picked from commit 478388b32ac83fc44a75d63ae819aadb220c83ec)
Conflicts:
arch/arm/boot/dts/imx6qdl-apalis.dtsi
drivers/i2c/busses/i2c-imx.c
Diffstat (limited to 'arch/arm/configs/nuc950_defconfig')
0 files changed, 0 insertions, 0 deletions