diff options
| author | Clément Léger <[email protected]> | 2025-02-13 10:25:03 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-02-19 17:18:13 +0530 |
| commit | f354400ebf91f2988a20da52a6399ac51988fc95 (patch) | |
| tree | 38536f1d22a1d99e8dae4ff7c39dec0f4bf6c21b /lib/utils/cppc | |
| parent | 1f64fef919fc5739df6c3395a9abd256dc88cb24 (diff) | |
lib: sbi: sse: fix invalid errors returned for sse_hart_mask/unmask()
When called twice, sse_hart_mask()/sse_hart_unmask() should return
SBI_EALREADY_STOPPED/SBI_EALREADY_STARTED. This was currently inverted.
Fixes: b919daf49582 ("lib: sbi: Add support to mask/unmask SSE events")
Reported-by: Andrew Jones <[email protected]>
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions
