i2c-omap: Update driver
The driver didn't work well with at24 driver. NACKS are lost.
Errors are lost in isr due to the local variable err. Also we didn't wait for
bus free in omap_i2c_xfer_msg.

Fix issues and get other improvements from linux kernel

Tested on OMAP4 and AM335x

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0b342ac commit c988b8bf7fd74574f0913c76417145bf02ab8fd5
@Jan Weitzel Jan Weitzel authored on 26 Sep 2013
Sascha Hauer committed on 27 Sep 2013
Showing 3 changed files
View
arch/arm/mach-omap/include/mach/generic.h
View
drivers/i2c/busses/i2c-omap.c
View
include/i2c/i2c.h