Skip to content

Commit c9d5211

Browse files
sumeet4linuxrafaeljw
authored andcommitted
ACPI: fan: Update debug message in fan_get_state_acpi4()
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@gmail.com> Link: https://patch.msgid.link/20250705110005.4343-1-sumeet4linux@gmail.com> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent e71b59b commit c9d5211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/fan_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state)
102102
break;
103103
}
104104
if (i == fan->fps_count) {
105-
dev_dbg(&device->dev, "Invalid control value returned\n");
105+
dev_dbg(&device->dev, "No matching fps control value\n");
106106
return -EINVAL;
107107
}
108108

0 commit comments

Comments
 (0)