Skip to content

Commit

Permalink
fix: Reduce log level of fancurve ACPI buffer hexdump
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfan committed Nov 12, 2024
1 parent 2912438 commit eacc0b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2878,7 +2878,7 @@ static ssize_t wmi_read_fancurve_custom(const struct model_config *model,
err = wmi_exec_noarg_ints(WMI_GUID_LENOVO_FAN_METHOD, 0,
WMI_METHOD_ID_FAN_GET_TABLE, buffer,
sizeof(buffer));
print_hex_dump(KERN_INFO, "legion_laptop fan table wmi buffer",
print_hex_dump(KERN_DEBUG, "legion_laptop fan table wmi buffer",
DUMP_PREFIX_ADDRESS, 16, 1, buffer, sizeof(buffer),
true);
if (!err) {
Expand Down Expand Up @@ -2936,7 +2936,7 @@ static ssize_t wmi_write_fancurve_custom(const struct model_config *model,
buffer[0x16] = fancurve->points[8].speed1;
buffer[0x18] = fancurve->points[9].speed1;

print_hex_dump(KERN_INFO, "legion_laptop fan table wmi write buffer",
print_hex_dump(KERN_DEBUG, "legion_laptop fan table wmi write buffer",
DUMP_PREFIX_ADDRESS, 16, 1, buffer, sizeof(buffer),
true);
err = wmi_exec_arg(WMI_GUID_LENOVO_FAN_METHOD, 0,
Expand Down

0 comments on commit eacc0b0

Please sign in to comment.