lib: sbi_hsm: Move misplaced comment
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 27 Feb 2023 10:30:59 +0000 (11:30 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 27 Feb 2023 14:08:00 +0000 (19:38 +0530)
commitb1ae6ef33ba92fe7d85edd87656998330637ed7e
tree9675d2a5085dd5e9aada41d60f4d355086a7b98b
parentc88e039ec23c41ad0769c6714f60904f89fa3a5d
lib: sbi_hsm: Move misplaced comment

While non-retentive suspend is not allowed for M-mode, the comment
at the top of sbi_hsm_hart_suspend() implied suspend wasn't allowed
for M-mode at all. Move the comment above the mode check which is
inside a suspend type is non-retentive check.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_hsm.c