[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VfVwxbHEzhvmEcyZce-hXrrr7oFq+xAWY4Kb1nB-EHEEQ@mail.gmail.com>
Date: Sun, 3 Oct 2021 09:30:33 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Denis Pauk <pauk.denis@...il.com>
Cc: Kamil Pietrzak <kpietrzak@...root.org>,
Andy Shevchenko <andriy.shevchenko@...el.com>,
Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-hwmon@...r.kernel.org
Subject: Re: [PATCH 2/3] hwmon: (nct6775) Use custom scale for ASUS motherboards.
On Sun, Oct 3, 2021 at 12:10 AM Denis Pauk <pauk.denis@...il.com> wrote:
>
> Use custom scaling factor for:
> * TUF GAMING Z490-PLUS
> * TUF GAMING Z490-PLUS (WI-FI)
>
> Voltage scaling factors are based on Asus software on Windows.
>
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204807
> Signed-off-by: Denis Pauk <pauk.denis@...il.com>
> Tested-by: Kamil Pietrzak <kpietrzak@...root.org>
> Cc: Andy Shevchenko <andriy.shevchenko@...el.com>
> Cc: Guenter Roeck <linux@...ck-us.net>
Instead of repeating it in each message, use mail headers, i.e. pass
--cc 'Name One <email@one>, Name Two <email@two>' to git format-patch.
...
> +
> + if (strcmp(board_name, "TUF GAMING Z490-PLUS") == 0 ||
> + strcmp(board_name, "TUF GAMING Z490-PLUS (WI-FI)") == 0)
I would expect this to grow, so do the same trick with match_string().
> + custom_scale = true;
> }
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists