]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sony-laptop: additional debug statements
authorMattia Dongili <malattia@linux.it>
Sat, 19 May 2012 13:35:49 +0000 (22:35 +0900)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:29:34 +0000 (14:29 -0400)
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c

index 4420353cfb6811eefe6c616f7e84442fa5fc8d93..89e5cf9b1914999e0252b72ec14c1fb1a2dcd6f0 100644 (file)
@@ -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);