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
..
2015-07-08 02:27:32 +02:00
2016-04-27 23:42:57 +02:00
2016-11-11 23:23:02 +01:00
2015-07-08 02:27:32 +02:00
2016-01-04 22:10:30 +01:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2016-10-10 02:20:43 +02:00
2015-11-07 01:30:10 +01:00
2015-07-08 02:27:32 +02:00
2016-10-03 20:11:49 -07:00
2016-10-03 20:11:49 -07:00
2015-09-01 03:38:43 +02:00
2015-09-01 15:52:35 +02:00
2016-11-11 23:23:02 +01:00
2016-07-19 12:32:39 -07:00