Skip to contentSkip to conversation

sony-laptop: fully enable SNY controlled modems

PATCH Superseded Mattia Dongili 1 participant 1 message Oct 14, 2012

Subsystems (2)
lore
Share & tools
lore

Mattia Dongili

author maintainer
#0 lore raw

PATCH 1/1 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

---

Hi Matthew,
See bugzilla above for how "7" is better than "3". I have checked a handful of Vaio DSDTs I have here and it looks like this new value will not harm other models. In fact it works fine on the above SVZ, a VGN-G and a VPC-X I could test with.

Could you see if it can be included in 3.7?

Thanks!

---
 drivers/platform/x86/sony-laptop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/sony-laptop.c +1 -1
index badd646..42125df 100644
@@ -1726,7 +1726,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);
 }
Signature · 1 line
1.7.10.4