aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpio/pl061.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/pl061.c b/drivers/gpio/pl061.c
index 2196f318114c..105701a1f05b 100644
--- a/drivers/gpio/pl061.c
+++ b/drivers/gpio/pl061.c
@@ -189,7 +189,7 @@ static int pl061_irq_type(unsigned irq, unsigned trigger)
189 gpioibe &= ~(1 << offset); 189 gpioibe &= ~(1 << offset);
190 if (trigger & IRQ_TYPE_EDGE_RISING) 190 if (trigger & IRQ_TYPE_EDGE_RISING)
191 gpioiev |= 1 << offset; 191 gpioiev |= 1 << offset;
192 else 192 else if (trigger & IRQ_TYPE_EDGE_FALLING)
193 gpioiev &= ~(1 << offset); 193 gpioiev &= ~(1 << offset);
194 } 194 }
195 writeb(gpioibe, chip->base + GPIOIBE); 195 writeb(gpioibe, chip->base + GPIOIBE);