diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-04-17 09:24:48 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-04-17 09:24:48 -0400 |
commit | db7c10e708b9bdd1618c034591d27c33cb341222 (patch) | |
tree | 82514a25edc204ed02d28f7c0b7bab95a398d518 /drivers/input/touchscreen | |
parent | d808fbe5b404854374917bd0d1db937a0a524665 (diff) |
Input: wm97xx-core - use IRQF_SAMPLE_RANDOM
The touchscreen interrupt is driven by human input which can reasonably
be used to provide entropy.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/wm97xx-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c index e27b1e060b33..fec07c28281a 100644 --- a/drivers/input/touchscreen/wm97xx-core.c +++ b/drivers/input/touchscreen/wm97xx-core.c | |||
@@ -355,7 +355,8 @@ static int wm97xx_init_pen_irq(struct wm97xx *wm) | |||
355 | * provided. */ | 355 | * provided. */ |
356 | BUG_ON(!wm->mach_ops->irq_enable); | 356 | BUG_ON(!wm->mach_ops->irq_enable); |
357 | 357 | ||
358 | if (request_irq(wm->pen_irq, wm97xx_pen_interrupt, IRQF_SHARED, | 358 | if (request_irq(wm->pen_irq, wm97xx_pen_interrupt, |
359 | IRQF_SHARED | IRQF_SAMPLE_RANDOM, | ||
359 | "wm97xx-pen", wm)) { | 360 | "wm97xx-pen", wm)) { |
360 | dev_err(wm->dev, | 361 | dev_err(wm->dev, |
361 | "Failed to register pen down interrupt, polling"); | 362 | "Failed to register pen down interrupt, polling"); |