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

From: Rohit Vaswani
Date: Wed Dec 18 2013 - 20:27:56 EST


On 12/12/2013 11:02 AM, Linus Walleij wrote:
On Wed, Dec 11, 2013 at 12:19 AM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
I've applied this for fixes and tagged for stable.
Björn, Rohit: OK?

Yours,
Linus Walleij
Acked-by: Rohit Vaswani <rvaswani@xxxxxxxxxxxxxx>

Thanks,
Rohit Vaswani

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/