summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/dma.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2010-04-05 13:38:06 +0200
committerTony Lindgren <tony@atomide.com>2010-04-23 02:32:36 +0200
commit29501577a7f3c925d5273064752ce3dc356ccfad (patch)
tree051740fab9d402fd9455c6a69d816dabe0a39224 /arch/arm/plat-omap/dma.c
parentarm: omap1: remove dead code from timer32k.c (diff)
downloadlinux-29501577a7f3c925d5273064752ce3dc356ccfad.tar.xz
linux-29501577a7f3c925d5273064752ce3dc356ccfad.zip
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