Skip to content
Unverified Commit 13262fc2 authored by 蒋家盛's avatar 蒋家盛 Committed by Mark Brown
Browse files

spi: spi-zynqmp-gqspi: Handle error for dma_set_mask



As the potential failure of the dma_set_mask(),
it should be better to check it and return error
if fails.

Fixes: 126bdb60 ("spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220302092051.121343-1-jiasheng@iscas.ac.cn


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d149dd2a
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