diff options
author | Linus Torvalds | 2019-08-10 00:31:19 +0200 |
---|---|---|
committer | Linus Torvalds | 2019-08-10 00:31:19 +0200 |
commit | 15abf14202a2fe7e5c5fc0e815587f45de4fd500 (patch) | |
tree | 69598abcefddb7670ce2c6505b7bcba54aae6291 /drivers/input/touchscreen | |
parent | Merge tag 'drm-fixes-2019-08-09' of git://anongit.freedesktop.org/drm/drm (diff) | |
parent | Input: iforce - add sanity checks (diff) | |
download | kernel-qcow2-linux-15abf14202a2fe7e5c5fc0e815587f45de4fd500.tar.gz kernel-qcow2-linux-15abf14202a2fe7e5c5fc0e815587f45de4fd500.tar.xz kernel-qcow2-linux-15abf14202a2fe7e5c5fc0e815587f45de4fd500.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry Torokhov:
- newer systems with Elan touchpads will be switched over to SMBus
- HP Spectre X360 will be using SMbus/RMI4
- checks for invalid USB descriptors in kbtab and iforce
- build fixes for applespi driver (misconfigs)
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: iforce - add sanity checks
Input: applespi - use struct_size() helper
Input: kbtab - sanity check for endpoint type
Input: usbtouchscreen - initialize PM mutex before using it
Input: applespi - add dependency on LEDS_CLASS
Input: synaptics - enable RMI mode for HP Spectre X360
Input: elantech - annotate fall-through case in elantech_use_host_notify()
Input: elantech - enable SMBus on new (2018+) systems
Input: applespi - fix trivial typo in struct description
Input: applespi - select CRC16 module
Input: applespi - fix warnings detected by sparse
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/usbtouchscreen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c index a2cec6cacf57..16d70201de4a 100644 --- a/drivers/input/touchscreen/usbtouchscreen.c +++ b/drivers/input/touchscreen/usbtouchscreen.c @@ -1659,6 +1659,8 @@ static int usbtouch_probe(struct usb_interface *intf, if (!usbtouch || !input_dev) goto out_free; + mutex_init(&usbtouch->pm_mutex); + type = &usbtouch_dev_info[id->driver_info]; usbtouch->type = type; if (!type->process_pkt) |