summaryrefslogtreecommitdiff
path: root/Documentation/i2c/ten-bit-addresses
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-07-17 12:48:56 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2015-08-24 12:05:14 (GMT)
commit9bccc70a127cfe2a13e34d6b6e7300caae113f8f (patch)
treeda17b6a3de9f47c5affd0b685b69524a67fd03f6 /Documentation/i2c/ten-bit-addresses
parentb4e2f6ac1281cd3e066919cc762eef4924e9fcc5 (diff)
downloadlinux-9bccc70a127cfe2a13e34d6b6e7300caae113f8f.tar.xz
i2c: take address space into account when checking for used addresses
It is not enough to compare the plain address value, we also need to check the flags enabling a different address space. E.g. it is valid to have address 0x50 as a 7-bit address and 0x050 as 10-bit address on the same bus. Same for addresses when we are the slave. Tested-by: Andrey Danin <danindrey@mail.ru> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/i2c/ten-bit-addresses')
0 files changed, 0 insertions, 0 deletions