Jelajahi Sumber

Input: wm97xx - don't specify IRQF_SAMPLE_RANDOM

The input core will add entropy to the pool so this flag is not
needed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Mark Brown 16 tahun lalu
induk
melakukan
4f295232be
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      drivers/input/touchscreen/wm97xx-core.c

+ 1 - 2
drivers/input/touchscreen/wm97xx-core.c

@@ -370,8 +370,7 @@ static int wm97xx_init_pen_irq(struct wm97xx *wm)
 	 * provided. */
 	BUG_ON(!wm->mach_ops->irq_enable);
 
-	if (request_irq(wm->pen_irq, wm97xx_pen_interrupt,
-			IRQF_SHARED | IRQF_SAMPLE_RANDOM,
+	if (request_irq(wm->pen_irq, wm97xx_pen_interrupt, IRQF_SHARED,
 			"wm97xx-pen", wm)) {
 		dev_err(wm->dev,
 			"Failed to register pen down interrupt, polling");