]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: msm: Fix irq mask/unmask by writing bits instead of numbers
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 10 Dec 2013 23:19:03 +0000 (15:19 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Dec 2013 18:59:57 +0000 (19:59 +0100)
commit1ec9577b1c042b5c65aad6cfbcbb4bd96204dfb4
treec0414eb7c730cd7ff3b3034a36bbd4aa0b8eba3e
parent8356d6986abe71b6db5fd45c950f15e414af9d27
gpio: msm: Fix irq mask/unmask by writing bits instead of numbers

We should be writing bits here but instead we're writing the
numbers that correspond to the bits we want to write. Fix it by
wrapping the numbers in the BIT() macro. This fixes gpios acting
as interrupts.

Cc: stable@vger.kernel.org
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-msm-v2.c