lib: sbi: Fix error codes returned by HSM start() and stop() functions
authorAnup Patel <anup.patel@wdc.com>
Wed, 24 Feb 2021 09:56:44 +0000 (15:26 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 3 Mar 2021 04:49:01 +0000 (10:19 +0530)
commitca864a978d923dc44236e977b797d470c3ee2c00
tree2fbf9cf9c3368931636701749579f97c0fa77f0b
parent638c948ab90e8630be5c43c17abb63cb3154919f
lib: sbi: Fix error codes returned by HSM start() and stop() functions

The sbi_hsm_hart_start() and sbi_hsm_hart_stop() functions should
only return error codes as defined by the SBI specification.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_hsm.c