From ae188715ac3215f33ea6a8b829529225bf67deaa Mon Sep 17 00:00:00 2001 From: Mattia Dongili Date: Sat, 19 May 2012 22:35:49 +0900 Subject: sony-laptop: additional debug statements Signed-off-by: Mattia Dongili Signed-off-by: Matthew Garrett --- drivers/platform/x86/sony-laptop.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'drivers/platform') diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 4420353cfb6..89e5cf9b191 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); -- cgit v1.2.3-18-g5258