Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
320d015c
Commit
320d015c
authored
Feb 01, 2005
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Plain Diff
Merge kernel.bkbits.net:/home/torvalds/linux-2.6
into kernel.bkbits.net:/home/vojtech/for-linus
parents
b389f382
940e8223
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
drivers/input/serio/i8042.c
drivers/input/serio/i8042.c
+3
-2
drivers/usb/input/hid-input.c
drivers/usb/input/hid-input.c
+3
-0
No files found.
drivers/input/serio/i8042.c
View file @
320d015c
...
...
@@ -482,7 +482,7 @@ static int i8042_set_mux_mode(unsigned int mode, unsigned char *mux_version)
if
(
i8042_command
(
&
param
,
I8042_CMD_AUX_LOOP
)
||
param
!=
0x0f
)
return
-
1
;
param
=
mode
?
0x56
:
0xf6
;
if
(
i8042_command
(
&
param
,
I8042_CMD_AUX_LOOP
)
||
param
!=
0xa9
)
if
(
i8042_command
(
&
param
,
I8042_CMD_AUX_LOOP
)
||
param
!=
(
mode
?
0xa9
:
0x09
)
)
return
-
1
;
param
=
mode
?
0xa4
:
0xa5
;
if
(
i8042_command
(
&
param
,
I8042_CMD_AUX_LOOP
)
||
param
==
(
mode
?
0x5b
:
0x5a
))
...
...
@@ -787,7 +787,8 @@ void i8042_controller_reset(void)
* Disable MUX mode if present.
*/
i8042_set_mux_mode
(
0
,
NULL
);
if
(
i8042_mux_present
)
i8042_set_mux_mode
(
0
,
NULL
);
/*
* Restore the original control register setting.
...
...
drivers/usb/input/hid-input.c
View file @
320d015c
...
...
@@ -492,6 +492,9 @@ static int hidinput_input_event(struct input_dev *dev, unsigned int type, unsign
if
(
type
==
EV_FF
)
return
hid_ff_event
(
hid
,
dev
,
type
,
code
,
value
);
if
(
type
!=
EV_LED
)
return
-
1
;
if
((
offset
=
hid_find_field
(
hid
,
type
,
code
,
&
field
))
==
-
1
)
{
warn
(
"event field not found"
);
return
-
1
;
...
...
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