]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: abx500: fix bitwise AND test
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Aug 2013 16:03:50 +0000 (19:03 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Aug 2013 12:32:06 +0000 (14:32 +0200)
commit6da33dbdcb3a07c5987a6ef2bd3f8a45ceef5b4b
treebd506678b9176ed76841c2e6ae5ae35f7ca8a52e
parenta8a364bd27cc35c0c879ba4164c4757fa634a58d
pinctrl: abx500: fix bitwise AND test

The intent here was to test if the bit was set or not but there is a
logical vs bitwise AND typo so it is true if any bits are set.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-abx500.c