diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index ad67d763fdbd..9767213b6c8f 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -142,8 +142,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev) | |||
142 | } | 142 | } |
143 | 143 | ||
144 | error = request_irq(irq, gpio_keys_isr, | 144 | error = request_irq(irq, gpio_keys_isr, |
145 | IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_RISING | | 145 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, |
146 | IRQF_TRIGGER_FALLING, | ||
147 | button->desc ? button->desc : "gpio_keys", | 146 | button->desc ? button->desc : "gpio_keys", |
148 | bdata); | 147 | bdata); |
149 | if (error) { | 148 | if (error) { |