aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYi Zhang <yizhang@marvell.com>2013-06-14 01:21:48 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-17 19:06:21 -0400
commit1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf (patch)
treee8b16a08837d0bbfc9bb21545b23ad6ccea5f3c8 /drivers
parentcb5c5800933d483babed13d78a53fde8c47d93c5 (diff)
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')
-rw-r--r--drivers/mfd/88pm800.c2
-rw-r--r--drivers/mfd/88pm805.c2
2 files changed, 2 insertions, 2 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:
318static int device_irq_init_800(struct pm80x_chip *chip) 318static int device_irq_init_800(struct pm80x_chip *chip)
319{ 319{
320 struct regmap *map = chip->regmap; 320 struct regmap *map = chip->regmap;
321 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; 321 unsigned long flags = IRQF_ONESHOT;
322 int data, mask, ret = -EINVAL; 322 int data, mask, ret = -EINVAL;
323 323
324 if (!map || !chip->irq) { 324 if (!map || !chip->irq) {
diff --git a/drivers/mfd/88pm805.c b/drivers/mfd/88pm805.c
index d32b54464e85..0e82c2a1e842 100644
--- a/drivers/mfd/88pm805.c
+++ b/drivers/mfd/88pm805.c
@@ -138,7 +138,7 @@ static struct regmap_irq pm805_irqs[] = {
138static int device_irq_init_805(struct pm80x_chip *chip) 138static int device_irq_init_805(struct pm80x_chip *chip)
139{ 139{
140 struct regmap *map = chip->regmap; 140 struct regmap *map = chip->regmap;
141 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; 141 unsigned long flags = IRQF_ONESHOT;
142 int data, mask, ret = -EINVAL; 142 int data, mask, ret = -EINVAL;
143 143
144 if (!map || !chip->irq) { 144 if (!map || !chip->irq) {