diff options
author | Jack Wang <jinpu.wang@ionos.com> | 2022-08-26 12:13:35 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2022-10-05 21:50:53 -0500 |
commit | 6b207ce8a96a71e966831e3a13c38143ba9a73c1 (patch) | |
tree | 28495ce50114bd68e8d89a0aa0168585d726904d /drivers/mailbox/tegra-hsp.c | |
parent | f5fe925df802eb3c7a71a97c01cf371eea24ea6a (diff) | |
download | linux-next-6b207ce8a96a71e966831e3a13c38143ba9a73c1.tar.gz |
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: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM ring manager")
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/tegra-hsp.c')
0 files changed, 0 insertions, 0 deletions