diff mbox

[1/1] ideapad-laptop: Add ideapad Y700 15-ACZ to the no_hw_rfkill DMI list

Message ID 20161206221743.357426a0@fazafaka (mailing list archive)
State Accepted, archived
Delegated to: Andy Shevchenko
Headers show

Commit Message

velemas Dec. 6, 2016, 7:17 p.m. UTC
Like other Y700 models Lenovo Y700 15-ACZ does not have a physical rfkill switch.
ideapad-laptop wrongly reports all radios as blocked by hardware which causes 
wireless network connections to fail.

Add this model without an rfkill switch to the no_hw_rfkill list.

Signed-off-by: Artiom Vaskov <velemas@gmail.com>
---
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Andy Shevchenko Dec. 14, 2016, 1:42 a.m. UTC | #1
On Tue, Dec 6, 2016 at 9:17 PM, velemas <velemas@gmail.com> wrote:
> Like other Y700 models Lenovo Y700 15-ACZ does not have a physical rfkill switch.
> ideapad-laptop wrongly reports all radios as blocked by hardware which causes
> wireless network connections to fail.
>
> Add this model without an rfkill switch to the no_hw_rfkill list.

Pushed to testing with fixed Subject line (Pattern is "platform/x86:
driver: Description").
Thanks.

>
> Signed-off-by: Artiom Vaskov <velemas@gmail.com>
> ---
> --- a/drivers/platform/x86/ideapad-laptop.c     2016-10-03 02:24:33.000000000 +0300
> +++ b/drivers/platform/x86/ideapad-laptop.c     2016-11-24 23:02:08.108870266 +0300
> @@ -870,6 +870,13 @@ static const struct dmi_system_id no_hw_
>                         DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
>                 },
>         },
> +       {
> +               .ident = "Lenovo ideapad Y700-15ACZ",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ACZ"),
> +               },
> +       },
>         {
>                 .ident = "Lenovo ideapad Y700-15ISK",
>                 .matches = {
> --
> To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/platform/x86/ideapad-laptop.c     2016-10-03 02:24:33.000000000 +0300
+++ b/drivers/platform/x86/ideapad-laptop.c     2016-11-24 23:02:08.108870266 +0300
@@ -870,6 +870,13 @@  static const struct dmi_system_id no_hw_
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
 		},
 	},
+	{
+		.ident = "Lenovo ideapad Y700-15ACZ",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ACZ"),
+		},
+	},
 	{
 		.ident = "Lenovo ideapad Y700-15ISK",
 		.matches = {