diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-06 12:56:07 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-06 15:55:14 +0100 |
commit | dd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5 (patch) | |
tree | 827a0b77cb279d65578ceef9c837ba736cd16007 /ipc/shm.c | |
parent | 5b684514af9052fdbaa60895620f75928a134196 (diff) | |
download | lwn-dd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5.tar.gz lwn-dd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5.zip |
spi: bcm2835: Fix error return code in bcm2835_dma_init()
Fix to return negative error code -ENOMEM from the dma mapping error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200506125607.90952-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions