summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-slave-mt27xx.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-03-02 17:20:51 +0800
committerMark Brown <broonie@kernel.org>2022-03-02 13:45:36 +0000
commit13262fc26c1837c51a5131dbbdd67a2387f8bfc7 (patch)
tree1f627106ee832a32675dfce070588e3d4839a09d /drivers/spi/spi-slave-mt27xx.c
parentd149dd2a806b9d11e570c3731eca8bda3c5f6238 (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 'drivers/spi/spi-slave-mt27xx.c')
0 files changed, 0 insertions, 0 deletions