* [PATCH] ideapad-laptop: Add E42-80 to no_hw_rfkill
@ 2018-05-28 11:44 dylanchu
2018-05-31 12:10 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: dylanchu @ 2018-05-28 11:44 UTC (permalink / raw)
To: ike.pan, dvhart, andy; +Cc: platform-driver-x86, linux-kernel, dylanchu
Lenovo Zhaoyang E42-80 is another Lenovo model without
a hw rfkill switch, resulting in wifi always reported
as hard blocked.
Add the model to the list of models without rfkill switch.
Signed-off-by: dylanchu <chdy.uuid@gmail.com>
---
drivers/platform/x86/ideapad-laptop.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 535199c9e6bc..6fdd70373ed3 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -1163,6 +1163,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
},
},
+ {
+ .ident = "Lenovo Zhaoyang E42-80",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ZHAOYANG E42-80"),
+ },
+ },
{}
};
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ideapad-laptop: Add E42-80 to no_hw_rfkill
2018-05-28 11:44 [PATCH] ideapad-laptop: Add E42-80 to no_hw_rfkill dylanchu
@ 2018-05-31 12:10 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2018-05-31 12:10 UTC (permalink / raw)
To: dylanchu
Cc: Ike Panhc, Darren Hart, Andy Shevchenko, Platform Driver,
Linux Kernel Mailing List
On Mon, May 28, 2018 at 2:44 PM, dylanchu <chdy.uuid@gmail.com> wrote:
> Lenovo Zhaoyang E42-80 is another Lenovo model without
> a hw rfkill switch, resulting in wifi always reported
> as hard blocked.
>
> Add the model to the list of models without rfkill switch.
>
Pushed to my review and testing queue, thanks!
> Signed-off-by: dylanchu <chdy.uuid@gmail.com>
> ---
> drivers/platform/x86/ideapad-laptop.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
> index 535199c9e6bc..6fdd70373ed3 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -1163,6 +1163,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
> DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
> },
> },
> + {
> + .ident = "Lenovo Zhaoyang E42-80",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_VERSION, "ZHAOYANG E42-80"),
> + },
> + },
> {}
> };
>
> --
> 2.17.0
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-31 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 11:44 [PATCH] ideapad-laptop: Add E42-80 to no_hw_rfkill dylanchu
2018-05-31 12:10 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox