Skip to content

Commit

Permalink
Reduce verbosity
Browse files Browse the repository at this point in the history
Closes: #158
Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
  • Loading branch information
MrDuartePT committed Mar 29, 2024
1 parent c460f14 commit 4c2f031
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,8 +1338,10 @@ static int acpi_process_buffer_to_ints(const char *id_name, int id_nr,
error = -AE_ERROR;
goto err;
}
pr_info("ACPI result for %s:%d: ACPI buffer length: %u\n", id_name,
id_nr, out->buffer.length);

// Reduced verbosity (only printing when ACPI result have bad parameters)
// pr_info("ACPI result for %s:%d: ACPI buffer length: %u\n", id_name,
// id_nr, out->buffer.length);

for (i = 0; i < ressize; ++i)
res[i] = out->buffer.pointer[i];
Expand Down Expand Up @@ -2834,9 +2836,6 @@ static int ec_write_fancurve_legion(struct ecram *ecram,
{
size_t i;

//TODO: remove again
pr_info("Set fancurve\n");

// Reset fan update counters (try to avoid any race conditions)
ecram_write(ecram, 0xC5FE, 0);
ecram_write(ecram, 0xC5FF, 0);
Expand Down

0 comments on commit 4c2f031

Please sign in to comment.