aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorVishal Verma <[email protected]>2016-12-06 00:00:37 +0000
committerDan Williams <[email protected]>2016-12-07 00:08:10 +0000
commit9a901f5495e26e691c7d0ea7b6057a2f3e6330ed (patch)
treef923c2732e3cdbe9fe49fc25234d185c27bf8e1e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentLinux 4.9-rc8 (diff)
downloadkernel-9a901f5495e26e691c7d0ea7b6057a2f3e6330ed.tar.gz
kernel-9a901f5495e26e691c7d0ea7b6057a2f3e6330ed.zip
acpi, nfit: fix extended status translations for ACPI DSMs
ACPI DSMs can have an 'extended' status which can be non-zero to convey additional information about the command. In the xlat_status routine, where we translate the command statuses, we were returning an error for a non-zero extended status, even if the primary status indicated success. Return from each command's 'case' once we have verified both its status and extend status are good. Cc: <[email protected]> Fixes: 11294d63ac91 ("nfit: fail DSMs that return non-zero status by default") Signed-off-by: Vishal Verma <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions