diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-12-10 15:19:03 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-12 19:59:57 +0100 |
commit | 4cc629b7a20945ce35628179180329b6bc9e552b (patch) | |
tree | c0414eb7c730cd7ff3b3034a36bbd4aa0b8eba3e /drivers/power/jz4740-battery.c | |
parent | f5837ec11f8cfa6d53ebc5806582771b2c9988c6 (diff) |
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>
Diffstat (limited to 'drivers/power/jz4740-battery.c')
0 files changed, 0 insertions, 0 deletions