diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-11-23 14:33:07 +0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-11-23 14:33:07 +0400 |
commit | cbb44514048a250647c6c6b3df27ff62cb71f7d5 (patch) | |
tree | 47b64df0a06edd7f7eca94d2f9f8d08f070b1ef5 /drivers/i2c/busses/i2c-pxa.c | |
parent | cc6bcf7d2ec2234e7b41770185e4dc826390185e (diff) | |
download | linux-cbb44514048a250647c6c6b3df27ff62cb71f7d5.tar.xz |
i2c: Fix device name for 10-bit slave address
10-bit addresses overlap with traditional 7-bit addresses, leading in
device name collisions. Add an arbitrary offset to 10-bit addresses to
prevent this collision. The offset was chosen so that the address is
still easily recognizable.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa.c')
0 files changed, 0 insertions, 0 deletions