Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
89c9b480
Commit
89c9b480
authored
Apr 29, 2006
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: psmouse - fix new device detection logic
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
7b7e3941
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse-base.c
+3
-1
No files found.
drivers/input/mouse/psmouse-base.c
View file @
89c9b480
...
...
@@ -302,8 +302,10 @@ static irqreturn_t psmouse_interrupt(struct serio *serio,
* Check if this is a new device announcement (0xAA 0x00)
*/
if
(
unlikely
(
psmouse
->
packet
[
0
]
==
PSMOUSE_RET_BAT
&&
psmouse
->
pktcnt
<=
2
))
{
if
(
psmouse
->
pktcnt
==
1
)
if
(
psmouse
->
pktcnt
==
1
)
{
psmouse
->
last
=
jiffies
;
goto
out
;
}
if
(
psmouse
->
packet
[
1
]
==
PSMOUSE_RET_ID
)
{
__psmouse_set_state
(
psmouse
,
PSMOUSE_IGNORE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment