forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/dtor/input Pull input fixes from Dmitry Torokhov. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: vmmouse - remove port reservation Input: elantech - add more IC body types to the list Input: wacom_w8001 - ignore invalid pen data packets Input: wacom_w8001 - w8001_MAX_LENGTH should be 13 Input: xpad - fix oops when attaching an unknown Xbox One gamepad MAINTAINERS: add Pali Rohár as reviewer of ALPS PS/2 touchpad driver Input: add HDMI CEC specific keycodes Input: add BUS_CEC type Input: xpad - fix rumble on Xbox One controllers with 2015 firmware
- Loading branch information
Showing
7 changed files
with
70 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -595,6 +595,10 @@ S: Odd Fixes | |
L: [email protected] | ||
F: arch/alpha/ | ||
|
||
ALPS PS/2 TOUCHPAD DRIVER | ||
R: Pali Rohár <[email protected]> | ||
F: drivers/input/mouse/alps.* | ||
|
||
ALTERA MAILBOX DRIVER | ||
M: Ley Foon Tan <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ MODULE_AUTHOR("Jaya Kumar <[email protected]>"); | |
MODULE_DESCRIPTION(DRIVER_DESC); | ||
MODULE_LICENSE("GPL"); | ||
|
||
#define W8001_MAX_LENGTH 11 | ||
#define W8001_MAX_LENGTH 13 | ||
#define W8001_LEAD_MASK 0x80 | ||
#define W8001_LEAD_BYTE 0x80 | ||
#define W8001_TAB_MASK 0x40 | ||
|
@@ -339,6 +339,15 @@ static irqreturn_t w8001_interrupt(struct serio *serio, | |
w8001->idx = 0; | ||
parse_multi_touch(w8001); | ||
break; | ||
|
||
default: | ||
/* | ||
* ThinkPad X60 Tablet PC (pen only device) sometimes | ||
* sends invalid data packets that are larger than | ||
* W8001_PKTLEN_TPCPEN. Let's start over again. | ||
*/ | ||
if (!w8001->touch_dev && w8001->idx > W8001_PKTLEN_TPCPEN - 1) | ||
w8001->idx = 0; | ||
} | ||
|
||
return IRQ_HANDLED; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters