Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
cab08969
Commit
cab08969
authored
Oct 24, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toshiba_acpi: always call input_sync() after input_report_switch()
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
df316e93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/acpi/toshiba_acpi.c
drivers/acpi/toshiba_acpi.c
+2
-0
No files found.
drivers/acpi/toshiba_acpi.c
View file @
cab08969
...
@@ -371,6 +371,7 @@ static void bt_poll_rfkill(struct input_polled_dev *poll_dev)
...
@@ -371,6 +371,7 @@ static void bt_poll_rfkill(struct input_polled_dev *poll_dev)
RFKILL_STATE_HARD_BLOCKED
);
RFKILL_STATE_HARD_BLOCKED
);
input_report_switch
(
poll_dev
->
input
,
SW_RFKILL_ALL
,
input_report_switch
(
poll_dev
->
input
,
SW_RFKILL_ALL
,
new_rfk_state
);
new_rfk_state
);
input_sync
(
poll_dev
->
input
);
}
}
}
}
...
@@ -842,6 +843,7 @@ static int __init toshiba_acpi_init(void)
...
@@ -842,6 +843,7 @@ static int __init toshiba_acpi_init(void)
set_bit
(
EV_SW
,
toshiba_acpi
.
poll_dev
->
input
->
evbit
);
set_bit
(
EV_SW
,
toshiba_acpi
.
poll_dev
->
input
->
evbit
);
set_bit
(
SW_RFKILL_ALL
,
toshiba_acpi
.
poll_dev
->
input
->
swbit
);
set_bit
(
SW_RFKILL_ALL
,
toshiba_acpi
.
poll_dev
->
input
->
swbit
);
input_report_switch
(
toshiba_acpi
.
poll_dev
->
input
,
SW_RFKILL_ALL
,
TRUE
);
input_report_switch
(
toshiba_acpi
.
poll_dev
->
input
,
SW_RFKILL_ALL
,
TRUE
);
input_sync
(
toshiba_acpi
.
poll_dev
->
input
);
ret
=
input_register_polled_device
(
toshiba_acpi
.
poll_dev
);
ret
=
input_register_polled_device
(
toshiba_acpi
.
poll_dev
);
if
(
ret
)
{
if
(
ret
)
{
...
...
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