[ 3.5.y.z extended stable ] Patch "sony-laptop: fully enable SNY controlled modems" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Mon Mar 4 20:49:16 UTC 2013


This is a note to let you know that I have just added a patch titled

    sony-laptop: fully enable SNY controlled modems

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 6aa8dfcfd7016fe52190cb8c4db62ac258a25325 Mon Sep 17 00:00:00 2001
From: Mattia Dongili <malattia at linux.it>
Date: Fri, 21 Dec 2012 07:21:08 +0900
Subject: [PATCH] sony-laptop: fully enable SNY controlled modems

commit 3ec1c3983d73b1e3d4cfd72afab94c34eceafe8a upstream.

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 at linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett at nebula.com>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 drivers/platform/x86/sony-laptop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index d4a6172..edbb51f 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -1528,7 +1528,7 @@ static int sony_nc_rfkill_set(void *data, bool blocked)
 	int argument = sony_rfkill_address[(long) data] + 0x100;

 	if (!blocked)
-		argument |= 0x030000;
+		argument |= 0x070000;

 	return sony_call_snc_handle(sony_rfkill_handle, argument, &result);
 }
--
1.8.1.2





More information about the kernel-team mailing list