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>
This commit is contained in:
Родитель
fd746d540a
Коммит
4f295232be
|
@ -370,8 +370,7 @@ static int wm97xx_init_pen_irq(struct wm97xx *wm)
|
||||||
* provided. */
|
* provided. */
|
||||||
BUG_ON(!wm->mach_ops->irq_enable);
|
BUG_ON(!wm->mach_ops->irq_enable);
|
||||||
|
|
||||||
if (request_irq(wm->pen_irq, wm97xx_pen_interrupt,
|
if (request_irq(wm->pen_irq, wm97xx_pen_interrupt, IRQF_SHARED,
|
||||||
IRQF_SHARED | IRQF_SAMPLE_RANDOM,
|
|
||||||
"wm97xx-pen", wm)) {
|
"wm97xx-pen", wm)) {
|
||||||
dev_err(wm->dev,
|
dev_err(wm->dev,
|
||||||
"Failed to register pen down interrupt, polling");
|
"Failed to register pen down interrupt, polling");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче