commit | 2d878de1af36b0bb62827453a9d5600cfe684a15 | [log] [tgz] |
---|---|---|
author | Reinhard Pfau <pfau@gdsys.de> | Wed Jun 26 15:55:14 2013 +0200 |
committer | Andy Fleming <afleming@freescale.com> | Tue Jul 16 17:44:30 2013 -0500 |
tree | 7407277be12748865e299c7facee99f7589ea752 | |
parent | 4fece433a458b487859a19ed6ecac26a8e3fe22c [diff] |
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>