Skip to content
Snippets Groups Projects
Commit b778c1b5 authored by Reinhard Pfau's avatar Reinhard Pfau Committed by Andy Fleming
Browse files

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: default avatarDirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: default avatarReinhard Pfau <reinhard.pfau@gdsys.cc>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent be6c1529
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment