sony-laptop: additional debug statements
Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
committed by
Matthew Garrett
parent
5fe801a742
commit
ae188715ac
@@ -713,8 +713,13 @@ static union acpi_object *__call_snc_method(acpi_handle handle, char *method,
|
|||||||
params.count = 1;
|
params.count = 1;
|
||||||
params.pointer = ∈
|
params.pointer = ∈
|
||||||
status = acpi_evaluate_object(handle, method, ¶ms, &output);
|
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);
|
status = acpi_evaluate_object(handle, method, NULL, &output);
|
||||||
|
dprintk("__call_snc_method: [%s]\n", method);
|
||||||
|
}
|
||||||
|
|
||||||
if (ACPI_FAILURE(status)) {
|
if (ACPI_FAILURE(status)) {
|
||||||
pr_err("Failed to evaluate [%s]\n", method);
|
pr_err("Failed to evaluate [%s]\n", method);
|
||||||
|
Reference in New Issue
Block a user