commit | 12e510dbc57b29b4314cd792851532bea76b4715 | [log] [tgz] |
---|---|---|
author | Marcus Folkesson <marcus.folkesson@gmail.com> | Sat Mar 17 10:52:39 2018 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Mar 26 15:21:24 2018 -0700 |
tree | d6da355348de82167f6056adf404fe7d55d06bd1 | |
parent | 553d16af23afdf3b6aa12ce237e469c3f6237ba3 [diff] |
Input: usbtouchscreen - fix deadlock in autosuspend usb_autopm_get_interface() that is called in usbtouch_open() does an autoresume if the device is suspended. input_dev->mutex used in usbtouch_resume() is in this case already taken by the input subsystem and will cause a deadlock. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>