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: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NReinhard Pfau <reinhard.pfau@gdsys.cc> Acked-by: NHeiko Schocher <hs@denx.de> Signed-off-by: NAndy Fleming <afleming@freescale.com>
Showing
想要评论请 注册 或 登录