linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill
@ 2018-01-07 19:53 Olle Liljenzin
  2018-01-08 17:30 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Olle Liljenzin @ 2018-01-07 19:53 UTC (permalink / raw)
  To: ike.pan, platform-driver-x86, linux-kernel
  Cc: dvhart, andy, piotr.baranowski, olle

Lenovo Legion Y720-15IKB 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: Olle Liljenzin <olle@liljenzin.se>
---
 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 53ab4e0f8962..c945572485ce 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -1103,6 +1103,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"),
 		},
 	},
+	{
+		.ident = "Lenovo Legion Y720-15IKB",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKB"),
+		},
+	},
 	{
 		.ident = "Lenovo Legion Y720-15IKBN",
 		.matches = {
-- 
2.14.3

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

* Re: [PATCH] platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill
  2018-01-07 19:53 [PATCH] platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill Olle Liljenzin
@ 2018-01-08 17:30 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2018-01-08 17:30 UTC (permalink / raw)
  To: Olle Liljenzin
  Cc: Ike Panhc, Platform Driver, Linux Kernel Mailing List,
	Darren Hart, Andy Shevchenko, piotr.baranowski

On Sun, Jan 7, 2018 at 9:53 PM, Olle Liljenzin <olle@liljenzin.se> wrote:
> Lenovo Legion Y720-15IKB 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: Olle Liljenzin <olle@liljenzin.se>
> ---
>  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 53ab4e0f8962..c945572485ce 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -1103,6 +1103,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>                         DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"),
>                 },
>         },
> +       {
> +               .ident = "Lenovo Legion Y720-15IKB",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKB"),
> +               },
> +       },
>         {
>                 .ident = "Lenovo Legion Y720-15IKBN",
>                 .matches = {
> --
> 2.14.3
>



-- 
With Best Regards,
Andy Shevchenko

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

end of thread, other threads:[~2018-01-08 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-07 19:53 [PATCH] platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill Olle Liljenzin
2018-01-08 17:30 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).