Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1332794 > unrolled thread

[PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

Started byOleksandr Natalenko <oleksandr@natalenko.name>
First post2016-02-12 16:00 +0100
Last post2016-02-17 08:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD Oleksandr Natalenko <oleksandr@natalenko.name> - 2016-02-12 16:00 +0100
    Re: [PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD Darren Hart <dvhart@infradead.org> - 2016-02-17 08:40 +0100

#1332794 — [PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

FromOleksandr Natalenko <oleksandr@natalenko.name>
Date2016-02-12 16:00 +0100
Subject[PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD
Message-ID<r1nmq-8pb-7@gated-at.bofh.it>
Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module
is loaded with wapf=4 option. Add quirk for this.

---
  drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
  1 file changed, 9 insertions(+)

diff --git a/drivers/platform/x86/asus-nb-wmi.c 
b/drivers/platform/x86/asus-nb-wmi.c
index 131fee2..091ca7a 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -272,6 +272,15 @@ static const struct dmi_system_id asus_quirks[] = {
         },
         {
                 .callback = dmi_matched,
+               .ident = "ASUSTeK COMPUTER INC. X75VD",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER 
INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "X75VD"),
+               },
+               .driver_data = &quirk_asus_wapf4,
+       },
+       {
+               .callback = dmi_matched,
                 .ident = "ASUSTeK COMPUTER INC. 1015E",
                 .matches = {
                         DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER 
INC."),
-- 
2.7.1

[toc] | [next] | [standalone]


#1336110

FromDarren Hart <dvhart@infradead.org>
Date2016-02-17 08:40 +0100
Message-ID<r34Sm-39G-5@gated-at.bofh.it>
In reply to#1332794
On Fri, Feb 12, 2016 at 03:35:21PM +0200, Oleksandr Natalenko wrote:
> Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module
> is loaded with wapf=4 option. Add quirk for this.

Concept is fine, checkpatch complains bitterly about whitespace. Please ensure
you are not adding spaces at the beginning of lines in your editor or in your
patch submission process.

> 
> ---
>  drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/platform/x86/asus-nb-wmi.c
> b/drivers/platform/x86/asus-nb-wmi.c
> index 131fee2..091ca7a 100644
> --- a/drivers/platform/x86/asus-nb-wmi.c
> +++ b/drivers/platform/x86/asus-nb-wmi.c
> @@ -272,6 +272,15 @@ static const struct dmi_system_id asus_quirks[] = {
>         },
>         {
>                 .callback = dmi_matched,
> +               .ident = "ASUSTeK COMPUTER INC. X75VD",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "X75VD"),
> +               },
> +               .driver_data = &quirk_asus_wapf4,
> +       },
> +       {
> +               .callback = dmi_matched,
>                 .ident = "ASUSTeK COMPUTER INC. 1015E",
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> -- 
> 2.7.1
> 

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web