From: Anthony Wong Date: Sat, 19 Jan 2019 06:21:15 +0000 (+0800) Subject: platform/x86: ideapad: Add ideapad 330-15ICH to no_hw_rfkill X-Git-Tag: v5.1-rc1~77^2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bbbe97f2f851138891148a99400109da956c694;p=thirdparty%2Fkernel%2Fstable.git platform/x86: ideapad: Add ideapad 330-15ICH to no_hw_rfkill Lenovo ideapad 330-15ICH does not have hardware radio switch but driver wrongly reports all radios as hard-blocked, add it to no_hw_rfkill to fix it. BugLink: https://bugs.launchpad.net/bugs/1811815 Signed-off-by: Anthony Wong Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 1589dffab9faf..21d469b9b4fb8 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -1090,6 +1090,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 310-15ISK"), }, }, + { + .ident = "Lenovo ideapad 330-15ICH", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 330-15ICH"), + }, + }, { .ident = "Lenovo ideapad Y700-14ISK", .matches = {