diff options
author | Mattia Dongili <malattia@linux.it> | 2012-05-19 15:35:49 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-05-31 20:29:34 +0200 |
commit | ae188715ac3215f33ea6a8b829529225bf67deaa (patch) | |
tree | 75ca08a64458862d3e8be7d336daca1c72713edc | |
parent | sony-laptop: improve SNC initialization and acpi notify callback code (diff) | |
download | linux-ae188715ac3215f33ea6a8b829529225bf67deaa.tar.xz linux-ae188715ac3215f33ea6a8b829529225bf67deaa.zip |
sony-laptop: additional debug statements
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 7 |
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, params.count = 1; params.pointer = ∈ status = acpi_evaluate_object(handle, method, ¶ms, &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); |