commit | b8a7cc4b5e5a0681fdeffe92b613e3e4eb769801 | [log] [tgz] |
---|---|---|
author | Marcus Folkesson <marcus.folkesson@gmail.com> | Sat Mar 17 10:49:46 2018 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Mar 17 11:05:18 2018 -0700 |
tree | 64fa737a3a633e60a11682413d9ed1d8d33c36dd | |
parent | ba521f1bd202237d2c1dea95e4213169b8c6ba01 [diff] |
Input: synaptics_usb - fix deadlock in autosuspend usb_autopm_get_interface() that is called in synusb_open() does an autoresume if the device is suspended. input_dev->mutex used in synusb_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>