]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_i2c.c: reduced subaddress length to 3 bytes
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 25 Feb 2010 09:12:12 +0000 (10:12 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 21 Mar 2010 21:44:42 +0000 (22:44 +0100)
commitfaffe14f016db10f33836b018c4b304d939cf586
treef8831e6b5b0e7836fc946e418cc4b2cf70e6aa5d
parenta6a04967bc2957d20799f4bb2a6b3dd0353c1cfd
cmd_i2c.c: reduced subaddress length to 3 bytes

according to some of the comments the subaddress length is 1 or 2, but we are being
prepared for the case it becomes 3. However the code also accepted 4.
This repairs this by changing the constand 4 to 3.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
common/cmd_i2c.c