commit | faffe14f016db10f33836b018c4b304d939cf586 | [log] [tgz] |
---|---|---|
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | Thu Feb 25 10:12:12 2010 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Sun Mar 21 22:44:42 2010 +0100 |
tree | f8831e6b5b0e7836fc946e418cc4b2cf70e6aa5d | |
parent | a6a04967bc2957d20799f4bb2a6b3dd0353c1cfd [diff] |
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>