提交 52cc96bd 编写于 作者: A Alan Jenkins 提交者: Len Brown

eeepc-laptop: allow rfkill hotplug to work on the 900A model

The 900A provides hotplug notifications on a different ACPI object to
other models.
Reported-by: NTrevor <trevor.chart@gmail.com>
Signed-off-by: NAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 a8258069
...@@ -981,6 +981,7 @@ static void eeepc_backlight_exit(void) ...@@ -981,6 +981,7 @@ static void eeepc_backlight_exit(void)
static void eeepc_rfkill_exit(void) static void eeepc_rfkill_exit(void)
{ {
eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P5");
eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6"); eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6");
eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7"); eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7");
if (ehotk->wlan_rfkill) { if (ehotk->wlan_rfkill) {
...@@ -1101,6 +1102,7 @@ static int eeepc_rfkill_init(struct device *dev) ...@@ -1101,6 +1102,7 @@ static int eeepc_rfkill_init(struct device *dev)
if (result == -EBUSY) if (result == -EBUSY)
result = 0; result = 0;
eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P5");
eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6"); eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6");
eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7"); eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7");
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册