diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-02 17:20:51 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-02 13:45:36 +0000 |
commit | 13262fc26c1837c51a5131dbbdd67a2387f8bfc7 (patch) | |
tree | 1f627106ee832a32675dfce070588e3d4839a09d /LICENSES/exceptions/GCC-exception-2.0 | |
parent | d149dd2a806b9d11e570c3731eca8bda3c5f6238 (diff) |
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: 126bdb606fd2 ("spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220302092051.121343-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'LICENSES/exceptions/GCC-exception-2.0')
0 files changed, 0 insertions, 0 deletions