Skip to content
Commit 55455449 authored by Azael Avalos's avatar Azael Avalos Committed by Darren Hart
Browse files

platform/x86: toshiba_haps: Split ACPI and HDD protection error handling



Currently the code checking for the ACPI status is mixed along with
the actual HDD protection status check.

This patch splits those two checks as they are not related, printing
an error string in case the ACPI call failed, and then check for
actual HDD protection status.

Signed-off-by: default avatarAzael Avalos <coproscefalo@gmail.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 6f7e357b
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