aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-omap.c
diff options
context:
space:
mode:
authorArnaud Patard <apatard@mandriva.com>2010-03-23 17:28:28 +0100
committerBen Dooks <ben-linux@fluff.org>2010-04-20 01:16:57 +0100
commitda9c99fc32e2d84f80672d192a7aaf7239057a2e (patch)
tree33e83a9eb182637ca411366499b66a3c3b5c0ab3 /drivers/i2c/busses/i2c-omap.c
parent01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f (diff)
downloadkernel_samsung_smdk4412-da9c99fc32e2d84f80672d192a7aaf7239057a2e.zip
kernel_samsung_smdk4412-da9c99fc32e2d84f80672d192a7aaf7239057a2e.tar.gz
kernel_samsung_smdk4412-da9c99fc32e2d84f80672d192a7aaf7239057a2e.tar.bz2
i2c-imx: fix error handling
- Return -ETIMEDOUT on bus busy error - Fix timeout test "time_after(jiffies, orig_jiffies + HZ / 1000)" : By default, HZ=100 on arm. This means that this test has no chances to work and may result in a dead loop. Set timeout to 500ms. - Don't try to send a new message if we failed to transmit previous one. This was preventing to recover from error on my system Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-omap.c')
0 files changed, 0 insertions, 0 deletions