Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e77a85c3 authored by Jack Wang's avatar Jack Wang Committed by Greg Kroah-Hartman
Browse files

mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg



[ Upstream commit 6b207ce8a96a71e966831e3a13c38143ba9a73c1 ]

dma_map_sg return 0 on error, fix the error check, and return -EIO
to caller.

Fixes: dbc049ee ("mailbox: Add driver for Broadcom FlexRM ring manager")
Signed-off-by: default avatarJack Wang <jinpu.wang@ionos.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f28eec40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment