platform/x86: asus-armoury: fix only DC tunables being available
Module asus-armoury must use AC tunables to check availability of power-related firmware attributes: fix missing attributes by using AC attributes instead of DC. Signed-off-by: Denis Benato <denis.benato@linux.dev> Link: https://patch.msgid.link/20251123150535.267339-1-denis.benato@linux.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
parent
2643187ccb
commit
f72c8ab579
|
|
@ -869,7 +869,8 @@ static bool has_valid_limit(const char *name, const struct power_limits *limits)
|
|||
|
||||
static int asus_fw_attr_add(void)
|
||||
{
|
||||
const struct rog_tunables *const ac_rog_tunables = asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_DC];
|
||||
const struct rog_tunables *const ac_rog_tunables =
|
||||
asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC];
|
||||
const struct power_limits *limits;
|
||||
bool should_create;
|
||||
const char *name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue