]> git.sur5r.net Git - u-boot/commit
i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0
authorReinhard Pfau <pfau@gdsys.de>
Wed, 26 Jun 2013 13:55:14 +0000 (15:55 +0200)
committerAndy Fleming <afleming@freescale.com>
Tue, 16 Jul 2013 22:44:30 +0000 (17:44 -0500)
commitb778c1b5debc4176baf93ed5085498e603f99343
tree7407277be12748865e299c7facee99f7589ea752
parentbe6c1529c1ce9718cc955f23fdaa5891d15b6551
i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

if alen is 0: no longer start a write cycle before reading data.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>
Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/i2c/fsl_i2c.c