diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2025-09-08 14:02:00 +0000 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-09-11 11:27:05 +0200 |
commit | 1da4cbefed4a2e69ebad81fc9b356cd9b807f380 (patch) | |
tree | dba02010aedb299bb48bcab3d903ae409867da92 /rust/helpers | |
parent | 187a3426a664737381a70a3fca3b8108f2300de9 (diff) |
firmware: exynos-acpm: fix PMIC returned errno
ACPM PMIC command handlers returned a u8 value when they should
have returned either zero or negative error codes.
Translate the APM PMIC errno to linux errno.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-input/aElHlTApXj-W_o1r@stanley.mountain/
Fixes: a88927b534ba ("firmware: add Exynos ACPM protocol driver")
Cc: stable@vger.kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions