]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cm109 - do not stomp on control URB
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 10 Dec 2020 04:13:24 +0000 (20:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Dec 2020 21:17:36 +0000 (13:17 -0800)
commit64f5cda46f1f9da6cc8c7ec273c6d4d704a69ee4
tree1fecb86bad6c640d27735efaa28a301c0908ecbc
parentff70bae7d3c7d6fcbd4c8b8f894b431ebf6ffaf2
Input: cm109 - do not stomp on control URB

We need to make sure we are not stomping on the control URB that was
issued when opening the device when attempting to toggle buzzer.
To do that we need to mark it as pending in cm109_open().

Reported-and-tested-by: syzbot+150f793ac5bc18eee150@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/cm109.c