Commit 40f16a81 authored by Andrew Jones's avatar Andrew Jones Committed by Anup Patel
Browse files

lib: sbi_hsm: Don't try to restore state on failed change



When a state change fails there's no need to restore the original
state as it remains the same.

Signed-off-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 1364d5ad
Supports Markdown
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