]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: pinctrl-adi2: disable IRQ when setting value
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 8 Oct 2013 07:31:21 +0000 (15:31 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Oct 2013 11:09:41 +0000 (13:09 +0200)
commit902d262fcfcbdc83352e0fc569755a37473f57fe
treece922f0205e55172c9af68843296a7dd4a93a60e
parent4a4657a5eca0768b04efc4265157b73d09cbf669
pinctrl: pinctrl-adi2: disable IRQ when setting value

GPIO output value should be set after the GPIO interrupt is disabled.
Use BIT macro as well.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
[Edited commit message]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-adi2.c