[PATCH 1/2] gpio: msm: Fix irq mask/unmask by writing bits instead of numbers

Linus Walleij linus.walleij at linaro.org
Thu Dec 12 14:02:27 EST 2013


On Wed, Dec 11, 2013 at 12:19 AM, Stephen Boyd <sboyd at codeaurora.org> wrote:

> 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.
>
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>

I've applied this for fixes and tagged for stable.
Björn, Rohit: OK?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list