commit | 2827127c6464580477599acd4b2634a4a7aebc2e | [log] [tgz] |
---|---|---|
author | Jack Wang <jinpu.wang@ionos.com> | Fri Aug 26 12:13:35 2022 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 26 13:17:07 2022 +0200 |
tree | 4ba4f6f0a202cdfa438a4fd5bf67f723bd71a3b8 | |
parent | d84f77ef7d57658d7346f8c4797a570aa5e35fa6 [diff] |
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: 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> Signed-off-by: Sasha Levin <sashal@kernel.org>