diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-11-15 11:32:36 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-11-15 11:46:33 -0800 |
commit | ba60cf9f78f0d7c8e73c7390608f7f818ee68aa0 (patch) | |
tree | 397acf8a1f6124f1810863ed9f330b67c5e1944d /drivers/input/misc | |
parent | fa3a5a1880c91bb92594ad42dfe9eedad7996b86 (diff) |
Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
The driver forgets to destroy workqueue in remove() similarly to what is
done when probe() fails. Add a call to destroy_workqueue() to fix it.
Since unregistration will wait for the work to finish, we do not need to
cancel/flush the work instance in remove().
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20191114023405.31477-1-hslester96@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions