]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitd3224ed140dc440c43e1da607b7685635e8064a6
treece922f0205e55172c9af68843296a7dd4a93a60e
parent010c51e189c6a37da2908d27c93e73584f6e8fa8
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