commit | b778c1b5debc4176baf93ed5085498e603f99343 | [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 | be6c1529c1ce9718cc955f23fdaa5891d15b6551 [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>