commit | 71b8f350a4f03730f3024bfa7dc2414904a21bcb | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Fri Sep 16 14:00:19 2016 +0000 |
committer | Mark Brown <broonie@kernel.org> | Fri Sep 16 17:23:11 2016 +0100 |
tree | 99ab1adb4a14d14bf4acab384c1a4c9094fe7fc5 | |
parent | 3bf3eb2b95aaf18eff3080444b24673cda8ff9a2 [diff] |
spi: bcm-qspi: Fix error return code in bcm_qspi_probe() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: fa236a7ef240 ("spi: bcm-qspi: Add Broadcom MSPI driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>