Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86125
b: refs/heads/master
c: d147da7
h: refs/heads/master
i:
  86123: 830284b
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Feb 16, 2008
1 parent 4292aee commit 4d3197c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0788cfbae0eddf13d5f2591acb1b407ba041d71
refs/heads/master: d147da73c9a3f617e4685c6a7762961fe19833e7
2 changes: 1 addition & 1 deletion trunk/Documentation/laptops/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ sysfs notes:
The recommended polling frequency is 10Hz.

hotkey_radio_sw:
if the ThinkPad has a hardware radio switch, this
If the ThinkPad has a hardware radio switch, this
attribute will read 0 if the switch is in the "radios
disabled" position, and 1 if the switch is in the
"radios enabled" position.
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/misc/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1161,15 +1161,15 @@ static void tpacpi_input_send_radiosw(void)
{
int wlsw;

mutex_lock(&tpacpi_inputdev_send_mutex);

if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) {
mutex_lock(&tpacpi_inputdev_send_mutex);

input_report_switch(tpacpi_inputdev,
SW_RADIO, !!wlsw);
input_sync(tpacpi_inputdev);
}

mutex_unlock(&tpacpi_inputdev_send_mutex);
mutex_unlock(&tpacpi_inputdev_send_mutex);
}
}

static void tpacpi_input_send_tabletsw(unsigned int state)
Expand Down

0 comments on commit 4d3197c

Please sign in to comment.