Message ID | 20190305085521.25304-1-kai.heng.feng@canonical.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Andy Shevchenko |
Headers | show |
Series | platform/x86: ideapad-laptop: Add Ideapad 530S-14ARR to no_hw_rfkill list | expand |
On Tue, Mar 5, 2019 at 10:55 AM Kai-Heng Feng <kai.heng.feng@canonical.com> wrote: > > This platform doesn't have hardware switch for rfkill, so add it to > no_hw_rfkill list to prevent wireless gets hard-blocked. > > https://bugs.launchpad.net/bugs/1818204 > Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Pushed to my review and testing queue, thanks! > --- > 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 1589dffab9fa..037970a1800a 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 530S-14ARR", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), > + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 530S-14ARR"), > + }, > + }, > { > .ident = "Lenovo ideapad Y700-14ISK", > .matches = { > -- > 2.17.1 >
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 1589dffab9fa..037970a1800a 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 530S-14ARR", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 530S-14ARR"), + }, + }, { .ident = "Lenovo ideapad Y700-14ISK", .matches = {
This platform doesn't have hardware switch for rfkill, so add it to no_hw_rfkill list to prevent wireless gets hard-blocked. https://bugs.launchpad.net/bugs/1818204 Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> --- drivers/platform/x86/ideapad-laptop.c | 7 +++++++ 1 file changed, 7 insertions(+)