spi: uniphier: fix error return code in uniphier_spi_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 29 Apr 2020 07:58:55 +0000 (07:58 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Apr 2020 17:52:15 +0000 (18:52 +0100)
commit18168291aa7dd48e9d9e3cbb1d4cd06e899357ca
treee8c687f049c2a54bfb9fcf0aceced2dc4e664450
parentf84b604dbaf242d17135f527dbe81093a41226b3
spi: uniphier: fix error return code in uniphier_spi_probe()

Fix to return negative error code -EPROBE_DEFER from the DMA probe defer
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/20200429075855.104487-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-uniphier.c