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)
commit4cc629b7a20945ce35628179180329b6bc9e552b
treec0414eb7c730cd7ff3b3034a36bbd4aa0b8eba3e
parentf5837ec11f8cfa6d53ebc5806582771b2c9988c6
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