All of lore.kernel.org
 help / color / mirror / Atom feed
* hp-wmi rfkill change breaks systems
@ 2014-01-21 15:17 Matthew Garrett
  2014-01-22  8:29 ` Alex Hung
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Garrett @ 2014-01-21 15:17 UTC (permalink / raw)
  To: alex.hung; +Cc: platform-driver-x86

Hi Alex,

997daa1bd9aca412ab97955a35b26c460c0ec7a4 seems to break some systems 
(https://bugzilla.kernel.org/show_bug.cgi?id=69131 for example). The 
simplest approach seems to be to simply do something like the following:

@@ -883,8 +883,8 @@ static int __init hp_wmi_bios_setup(struct 
platform_device *device)
 	gps_rfkill = NULL;
 	rfkill2_count = 0;
 
-	if (hp_wmi_bios_2009_later() || hp_wmi_rfkill_setup(device))
-		hp_wmi_rfkill2_setup(device);
+	if (hp_wmi_rfkill2_setup(device))
+		hp_wmi_rfkill_setup(device);

Do you know if there are any cases that would be broken by this?

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-28  4:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 15:17 hp-wmi rfkill change breaks systems Matthew Garrett
2014-01-22  8:29 ` Alex Hung
2014-01-23  7:25   ` Alex Hung
2015-08-28  3:49     ` Ward, David - 0665 - MITLL

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.