H. Nikolaus Schaller 52dee2c9f0 Input: twl6040-vibra - fix NULL pointer dereference by removing workqueue
commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue")

says that it switches to use the system workqueue but it did neither

- remove the workqueue struct variable
- replace code to really use the system workqueue

Instead it calls queue_work() on uninitialized info->workqueue.

The result is a NULL pointer dereference in vibra_play().

Solution: use schedule_work

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2016-04-19 09:24:19 -07:00
..
2015-12-29 15:32:24 -05:00
2016-02-01 12:27:18 -08:00
2016-01-20 17:30:20 -08:00
2016-01-13 10:23:36 -08:00
2016-03-04 18:06:49 -08:00
2016-01-12 12:17:28 +01:00
2016-01-20 18:42:30 -08:00
2016-03-06 11:08:06 -08:00
2016-03-11 16:34:18 -08:00
2016-02-23 17:17:20 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2016-03-09 13:28:27 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-02-26 12:47:32 +02:00
2016-03-05 12:32:34 -08:00
2016-03-03 12:37:21 -08:00
2016-02-28 07:38:52 -07:00
2016-02-22 13:57:01 -08:00