diff options
author | Mattia Dongili <malattia@linux.it> | 2012-12-20 17:21:08 -0500 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-02-27 08:30:30 -0500 |
commit | 3ec1c3983d73b1e3d4cfd72afab94c34eceafe8a (patch) | |
tree | 184e5fb2e8a28ff01affb70e8df87cd3d961bd89 /drivers/platform | |
parent | d1381f45ad54e0bb40ef19f99e87187ff3458bdb (diff) |
sony-laptop: fully enable SNY controlled modems
The call to handlers 0x124 and 0x135 (rfkill control) seems to take a
bitmask to control various states of the device. For our rfkill we need
a fully on/off. SVZ1311Z9R/X's LTE modem needs more bits up.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=47751
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index ceb41eff4230..0bee6c2f8864 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -1534,7 +1534,7 @@ static int sony_nc_rfkill_set(void *data, bool blocked) | |||
1534 | int argument = sony_rfkill_address[(long) data] + 0x100; | 1534 | int argument = sony_rfkill_address[(long) data] + 0x100; |
1535 | 1535 | ||
1536 | if (!blocked) | 1536 | if (!blocked) |
1537 | argument |= 0x030000; | 1537 | argument |= 0x070000; |
1538 | 1538 | ||
1539 | return sony_call_snc_handle(sony_rfkill_handle, argument, &result); | 1539 | return sony_call_snc_handle(sony_rfkill_handle, argument, &result); |
1540 | } | 1540 | } |