aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/sony-laptop.c
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2012-05-19 09:35:49 -0400
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:29:34 -0400
commitae188715ac3215f33ea6a8b829529225bf67deaa (patch)
tree75ca08a64458862d3e8be7d336daca1c72713edc /drivers/platform/x86/sony-laptop.c
parent5fe801a7427cb13c530af59e2b77b30d789d9b9a (diff)
sony-laptop: additional debug statements
Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
-rw-r--r--drivers/platform/x86/sony-laptop.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 4420353cfb68..89e5cf9b1914 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -713,8 +713,13 @@ static union acpi_object *__call_snc_method(acpi_handle handle, char *method,
713 params.count = 1; 713 params.count = 1;
714 params.pointer = &in; 714 params.pointer = &in;
715 status = acpi_evaluate_object(handle, method, &params, &output); 715 status = acpi_evaluate_object(handle, method, &params, &output);
716 } else 716 dprintk("__call_snc_method: [%s:0x%.8x%.8x]\n", method,
717 (unsigned int)(*value >> 32),
718 (unsigned int)*value & 0xffffffff);
719 } else {
717 status = acpi_evaluate_object(handle, method, NULL, &output); 720 status = acpi_evaluate_object(handle, method, NULL, &output);
721 dprintk("__call_snc_method: [%s]\n", method);
722 }
718 723
719 if (ACPI_FAILURE(status)) { 724 if (ACPI_FAILURE(status)) {
720 pr_err("Failed to evaluate [%s]\n", method); 725 pr_err("Failed to evaluate [%s]\n", method);