Message ID | 20100217170315.GB10249@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
--- drivers/input/input-polldev.c +++ drivers/input/input-polldev.c @@ -100,6 +100,7 @@ static void input_close_polled_device(st struct input_polled_dev *dev = input_get_drvdata(input); cancel_delayed_work_sync(&dev->work); + INIT_DELAYED_WORK(&dev->work, dev->work->func); input_polldev_stop_workqueue(); if (dev->close)