Messages in this thread | | | From | Ilpo Järvinen <> | Date | Wed, 3 Apr 2024 11:23:14 +0300 (EEST) | Subject | Re: [PATCH v3 5/9] platform/x86: asus-wmi: store a min default for ppt options |
| |
On Wed, 3 Apr 2024, Luke D. Jones wrote:
> Laptops with any of the ppt or nv tunables default to the minimum setting > on boot so we can safely assume a stored value is correct. > > This patch adds storing of those values in the local struct, and enables > reading of those values back. To prevent creating a series of byte holes > in the struct the "<name>_available" bool is removed and > `asus_sysfs_is_visible()` uses the `ASUS_WMI_DEVID_<name>` directly. > > Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > Signed-off-by: Luke D. Jones <luke@ljones.dev>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
(I know it is already among the tags but I had not given it until now.)
-- i.
| |