From nobody Tue Dec 2 01:03:00 2025 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 252322C15A5 for ; Sun, 23 Nov 2025 15:05:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763910353; cv=none; b=F5bT/MAYFpVABjS3MYGsRjvT1/3JHvbjlTvV7/zyjHouuIkNgAOt+L+Ci86Pp1bZTX4DWw/y1DCk3rBiU/xUDRRrn86Sw3g6+ojIaYbB6DkFQXiEEUenkl4XqZ4gbpi6km8QF10Uz3E/eZiz0RSY188+f4tFJW6OHr3ka6Trg7o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763910353; c=relaxed/simple; bh=yDjg6/5hTpz1pgDvg0DGAA4Z5PQR01yd9jlcS42CS54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iqgPvjCR8UNU+SK4jaisGUvXqSJE7sN7V84JG0x1PN0MSRqWVBA9vlqaLnmIwBMhJ3HRZ2xf+Z8Kh2r9ve1Hp0Ly+Y5dZ5X6/8fwr8NdWXPffafhobE7tE1dfE87vAAqMmNnYL7oBK8/0RMsImYPioYcLgp0Mso/yjTO2nOelmM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=dLkVshto; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="dLkVshto" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763910339; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zIeh2Ma+bNtZ1Ujuo1YJUxPh5dcoOiB5eQU+19G6XVs=; b=dLkVshto4mBqM+ixY230zrLW7QCcOU8ZckotOuWGXIpAnsljw9P52vLDN53F8h4pUHqIMv kxMEgi+5DwWIDqHp6lBbAGcsZYcBgA+7UqxEmhNMTmBcBq3/qQXHRrLnSSjGlEpo79gth9 SrHj32xxQguI9MAtvdSNvOsslog9I9Q= From: Denis Benato To: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org, "Hans de Goede" , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Limonciello, Mario" , "Luke D . Jones" , "Alok Tiwari" , "Derek John Clark" , "Mateusz Schyboll" , porfet828@gmail.com, "Denis Benato" , Denis Benato Subject: [PATCH] platform/x86: asus-armoury: fix only DC tunables being available Date: Sun, 23 Nov 2025 16:05:35 +0100 Message-ID: <20251123150535.267339-1-denis.benato@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" 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 --- drivers/platform/x86/asus-armoury.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/asus-armoury.c b/drivers/platform/x86/asu= s-armoury.c index 5106e8a41e25..9c1a9ad42bc4 100644 --- a/drivers/platform/x86/asus-armoury.c +++ b/drivers/platform/x86/asus-armoury.c @@ -869,7 +869,8 @@ static bool has_valid_limit(const char *name, const str= uct power_limits *limits) =20 static int asus_fw_attr_add(void) { - const struct rog_tunables *const ac_rog_tunables =3D asus_armoury.rog_tun= ables[ASUS_ROG_TUNABLE_DC]; + const struct rog_tunables *const ac_rog_tunables =3D + asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC]; const struct power_limits *limits; bool should_create; const char *name; --=20 2.52.0