From: Stephen Boyd Date: Tue, 10 Dec 2013 23:19:03 +0000 (-0800) Subject: gpio: msm: Fix irq mask/unmask by writing bits instead of numbers X-Git-Tag: v3.2.55~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50226b9992e79d43579b92650ecbfdbc1479980c;p=pandora-kernel.git gpio: msm: Fix irq mask/unmask by writing bits instead of numbers commit 4cc629b7a20945ce35628179180329b6bc9e552b upstream. 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 Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed