Skip to content

Commit

Permalink
sony-laptop: additional debug statements
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Mattia Dongili authored and Matthew Garrett committed May 31, 2012
1 parent 5fe801a commit ae18871
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,13 @@ static union acpi_object *__call_snc_method(acpi_handle handle, char *method,
params.count = 1;
params.pointer = &in;
status = acpi_evaluate_object(handle, method, &params, &output);
} else
dprintk("__call_snc_method: [%s:0x%.8x%.8x]\n", method,
(unsigned int)(*value >> 32),
(unsigned int)*value & 0xffffffff);
} else {
status = acpi_evaluate_object(handle, method, NULL, &output);
dprintk("__call_snc_method: [%s]\n", method);
}

if (ACPI_FAILURE(status)) {
pr_err("Failed to evaluate [%s]\n", method);
Expand Down

0 comments on commit ae18871

Please sign in to comment.