summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-06-16 00:38:14 +0400
committerWolfram Sang <wsa@the-dreams.de>2013-06-16 01:16:37 +0400
commitd15b85755b25e1b0201e24bc0c29f31eb4e856c4 (patch)
tree84b7cc6d18a83d316df08e9599296d6585c6c5a9 /samples
parent3a205be5e8746aac70d4f5083cef4b3becfbab91 (diff)
downloadlinux-d15b85755b25e1b0201e24bc0c29f31eb4e856c4.tar.xz
i2c: nomadik: allocate adapter number dynamically
The Nomadik I2C was using a local atomic counter to number the I2C adapters. This does not work on configurations where you also add, say a GPIO bit-banged adapter to the system. They will start to conflict about being adapter 0. There is no reason to use the numbered adapter function, and the semantic effect on systems with only Nomadik I2C blocks will be none - instead of increasing the number atomically in the driver itself, it is done in the I2C core. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions