[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250705110005.4343-1-sumeet4linux@gmail.com>
Date: Sat, 5 Jul 2025 16:30:04 +0530
From: Sumeet Pawnikar <sumeet4linux@...il.com>
To: rafael@...nel.org,
linux-acpi@...r.kernel.org
Cc: lenb@...nel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
sumeet4linux@...il.com
Subject: [PATCH v2] ACPI: FAN: Update fps count debug print
Update invalid control value returned debug print with
appropriate message as no matching fps control value
for checking fan fps count condition.
Signed-off-by: Sumeet Pawnikar <sumeet4linux@...il.com>
---
v1->v2: Addressed review comment received from Rafael Wysocki
to update the debug message appropriately.
---
drivers/acpi/fan_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/fan_core.c b/drivers/acpi/fan_core.c
index 8ad12ad3aaaf..095502086b41 100644
--- a/drivers/acpi/fan_core.c
+++ b/drivers/acpi/fan_core.c
@@ -102,7 +102,7 @@ static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state)
break;
}
if (i == fan->fps_count) {
- dev_dbg(&device->dev, "Invalid control value returned\n");
+ dev_dbg(&device->dev, "No matching fps control value\n");
return -EINVAL;
}
--
2.43.0
Powered by blists - more mailing lists