diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-05 19:45:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-05 19:45:06 -0500 |
commit | 65c64d1845fbc6420f8836e8731ea6c3012e8e7d (patch) | |
tree | e7652f8508b9f1da90f234b20e17212d08d5bc0b /drivers/input/misc | |
parent | 313243aa1a8c6e5ac8749338139d11ede860ae81 (diff) | |
parent | 02a0d9216d4daf6a58d88642bd2da2c78c327552 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov:
"Just a few driver fixups, nothing exciting"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: xen-kbdfront - do not advertise multi-touch pressure support
Input: hideep - fix compile error due to missing include file
Input: elants_i2c - do not clobber interrupt trigger on x86
Input: joystick/analog - riscv has get_cycles()
Input: elantech - add new icbody type 15
Input: ims-pcu - fix typo in the error message
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/ims-pcu.c | 2 | ||||
-rw-r--r-- | drivers/input/misc/xen-kbdfront.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index ae473123583b..3d51175c4d72 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c | |||
@@ -1651,7 +1651,7 @@ ims_pcu_get_cdc_union_desc(struct usb_interface *intf) | |||
1651 | return union_desc; | 1651 | return union_desc; |
1652 | 1652 | ||
1653 | dev_err(&intf->dev, | 1653 | dev_err(&intf->dev, |
1654 | "Union descriptor to short (%d vs %zd\n)", | 1654 | "Union descriptor too short (%d vs %zd)\n", |
1655 | union_desc->bLength, sizeof(*union_desc)); | 1655 | union_desc->bLength, sizeof(*union_desc)); |
1656 | return NULL; | 1656 | return NULL; |
1657 | } | 1657 | } |
diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c index 6bf56bb5f8d9..d91f3b1c5375 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c | |||
@@ -326,8 +326,6 @@ static int xenkbd_probe(struct xenbus_device *dev, | |||
326 | 0, width, 0, 0); | 326 | 0, width, 0, 0); |
327 | input_set_abs_params(mtouch, ABS_MT_POSITION_Y, | 327 | input_set_abs_params(mtouch, ABS_MT_POSITION_Y, |
328 | 0, height, 0, 0); | 328 | 0, height, 0, 0); |
329 | input_set_abs_params(mtouch, ABS_MT_PRESSURE, | ||
330 | 0, 255, 0, 0); | ||
331 | 329 | ||
332 | ret = input_mt_init_slots(mtouch, num_cont, INPUT_MT_DIRECT); | 330 | ret = input_mt_init_slots(mtouch, num_cont, INPUT_MT_DIRECT); |
333 | if (ret) { | 331 | if (ret) { |