diff options
| author | Janusz Krzysztofik <[email protected]> | 2010-04-05 11:38:06 +0000 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2010-04-22 17:32:36 -0700 |
| commit | 29501577a7f3c925d5273064752ce3dc356ccfad (patch) | |
| tree | 051740fab9d402fd9455c6a69d816dabe0a39224 /include/linux/timerqueue.h | |
| parent | 46cdc4e431536c279b1ce00520d6fe6e9ca42b04 (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 <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions