Skip to content
Snippets Groups Projects
Commit e25ae322 authored by Cooper Jr., Franklin's avatar Cooper Jr., Franklin Committed by Heiko Schocher
Browse files

ti: common: board_detect: Set alen to expected value before i2c read


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: default avatarFranklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent c6b80b13
No related branches found
No related tags found
No related merge requests found
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