--- zzzz-none-000/linux-3.10.107/drivers/input/misc/wm831x-on.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/input/misc/wm831x-on.c 2021-02-04 17:41:59.000000000 +0000 @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -100,7 +99,8 @@ wm831x_on->dev->dev.parent = &pdev->dev; ret = request_threaded_irq(irq, NULL, wm831x_on_irq, - IRQF_TRIGGER_RISING, "wm831x_on", + IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "wm831x_on", wm831x_on); if (ret < 0) { dev_err(&pdev->dev, "Unable to request IRQ: %d\n", ret); @@ -139,7 +139,6 @@ .remove = wm831x_on_remove, .driver = { .name = "wm831x-on", - .owner = THIS_MODULE, }, }; module_platform_driver(wm831x_on_driver);