summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/dma.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2010-04-05 11:38:06 +0000
committerTony Lindgren <tony@atomide.com>2010-04-22 17:32:36 -0700
commit29501577a7f3c925d5273064752ce3dc356ccfad (patch)
tree051740fab9d402fd9455c6a69d816dabe0a39224 /arch/arm/plat-omap/dma.c
parent46cdc4e431536c279b1ce00520d6fe6e9ca42b04 (diff)
omap: gpio: fix incorrect matching of IRQ_TYPE_EDGE_BOTH
Since IRQ_TYPE_EDGE_BOTH is defined as (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING), testing against it with a bitwise AND also matches both single-edge cases in addition to the intended both edges case. Fix it, replacing with a more accurate expression. Created and tested againts linux-2.6.34-rc3. Applicable to 2.6.33-stable as well. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/dma.c')
0 files changed, 0 insertions, 0 deletions