]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: scmi: return a right errno for SCMI status code
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 13 Jun 2023 01:30:45 +0000 (10:30 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 19:21:07 +0000 (15:21 -0400)
commitb1d774bb8749151293a700173c79b9501ac72a2c
treea0d5442a8373d4349a52d57fefd4eab1ea483b11
parent497e3a89ba46e0f1b1e7772bbd1e1a4c3fff17a5
firmware: scmi: return a right errno for SCMI status code

scmi_to_linux_errno() is set to return an appropriate errno
which corresponds to a given SCMI status code.
But the current implementation always returns the same value.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
drivers/firmware/scmi/scmi_agent-uclass.c