Skip to content
Commit 6b207ce8 authored by Jack Wang's avatar Jack Wang Committed by Jassi Brar
Browse files

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



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>
parent f5fe925d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment