Vishal Verma 9a901f5495 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: <stable@vger.kernel.org>
Fixes: 11294d63ac91 ("nfit: fail DSMs that return non-zero status by default")
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-12-06 16:08:10 -08:00
..
2016-11-13 10:22:07 -08:00
2016-11-16 20:46:32 +01:00
2016-11-17 13:53:02 -08:00
2016-10-21 21:40:29 +02:00
2016-09-27 12:33:47 +02:00
2016-10-07 21:23:40 -07:00
2016-11-05 10:52:29 -07:00
2016-11-16 12:39:57 -07:00
2016-10-07 21:23:40 -07:00
2016-12-01 16:44:42 -08:00
2016-11-11 17:02:01 -08:00
2016-11-29 16:43:24 +01:00
2016-10-06 17:03:49 -07:00
2016-11-29 11:15:37 -08:00
2016-10-14 11:07:42 -07:00
2016-11-13 10:13:33 -08:00
2016-11-18 15:49:31 +01:00
2016-11-01 09:04:04 -06:00
2016-10-24 19:52:24 -07:00