Linux ACPI
 help / color / mirror / Atom feed
* [PATCH] ACPI: FAN: Update fps count debug print
@ 2025-06-21  5:17 Sumeet Pawnikar
  2025-07-02 17:54 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Sumeet Pawnikar @ 2025-06-21  5:17 UTC (permalink / raw)
  To: rafael, linux-acpi; +Cc: lenb, linux-kernel, linux-pm, sumeet4linux

Update invalid value returned debug print with fps_count
instead of control value for checking fan fps count condition.

Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
---
 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..9f2696a1928c 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, "Invalid fps_count value returned\n");
 		return -EINVAL;
 	}
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-03 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-21  5:17 [PATCH] ACPI: FAN: Update fps count debug print Sumeet Pawnikar
2025-07-02 17:54 ` Rafael J. Wysocki
     [not found]   ` <CAJ9orWQAPun6Oy3wMOBK+OYcvUTHDEZ7GUgsuxU2pctNY7O3Mw@mail.gmail.com>
2025-07-03 12:11     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox