diff options
author | Yi Zhang <yizhang@marvell.com> | 2013-06-14 07:21:48 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-18 01:06:21 +0200 |
commit | 1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf (patch) | |
tree | e8b16a08837d0bbfc9bb21545b23ad6ccea5f3c8 /drivers/mfd/88pm800.c | |
parent | mfd: 88pm800: Initialize mask_invert (diff) | |
download | linux-1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf.tar.xz linux-1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf.zip |
mfd: 88pm800: 88pm805: Remove "IRQF_TRIGGER_FALLING" flag
88pm800/88pm805 interrupt is asserted low if the events happened.
So remove IRQF_TRIGGER_FALLING for irq request.
Also, the interrupt wiring is board dependent so do not set
IRQF_TRIGGER by default.
Signed-off-by: Yi Zhang <yizhang@marvell.com>
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/88pm800.c')
-rw-r--r-- | drivers/mfd/88pm800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index cca63f255d53..d2951d749bf3 100644 --- a/drivers/mfd/88pm800.c +++ b/drivers/mfd/88pm800.c @@ -318,7 +318,7 @@ out: static int device_irq_init_800(struct pm80x_chip *chip) { struct regmap *map = chip->regmap; - unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; + unsigned long flags = IRQF_ONESHOT; int data, mask, ret = -EINVAL; if (!map || !chip->irq) { |