Re: [PATCH 2/3] hwmon: (nct6775) Use custom scale for ASUS motherboards.
From: Andy Shevchenko
Date: Sun Oct 03 2021 - 02:31:31 EST
On Sun, Oct 3, 2021 at 12:10 AM Denis Pauk <pauk.denis@xxxxxxxxx> 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@xxxxxxxxx>
> Tested-by: Kamil Pietrzak <kpietrzak@xxxxxxxxxxx>
> Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
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