Commit 4965257f authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/acpi: fix typo in ATCS handling

Path should be NULL when we already have the handle
to the object.
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Tested-by: default avatarSathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: default avatarSathishkumar S <sathishkumar.sundararaju@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent eae902f9
......@@ -557,7 +557,7 @@ static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs,
atcs_arg_elements[1].integer.value = 0;
}
status = acpi_evaluate_object(atcs->handle, "ATCS", &atcs_arg, &buffer);
status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer);
/* Fail only if calling the method fails and ATIF is supported */
if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment