[U-Boot] [PATCH 4/8] ti: common: board_detect: Set alen to expected value before i2c read

Tom Rini trini at konsulko.com
Wed Apr 12 19:12:32 UTC 2017


On Tue, Apr 11, 2017 at 01:37:21PM -0500, Franklin S Cooper Jr wrote:

> In non DM I2C read operations the address length passed in during a read
> operation will be used automatically. However, in DM I2C the address length
> is set to a default value of one which causes problems when trying to
> perform a read with a differing alen. Therefore, before the first read in a
> series of read operations set the alen to the correct value.
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper at ti.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170412/54e33b11/attachment.sig>


More information about the U-Boot mailing list