Skip to content
Commit 71b8f350 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

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: fa236a7e

 ("spi: bcm-qspi: Add Broadcom MSPI driver")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3bf3eb2b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment