Skip to content
Unverified Commit e748edd9 authored by Zhang Changzhong's avatar Zhang Changzhong Committed by Mark Brown
Browse files

spi: dw: Fix error return code in dw_spi_bt1_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: abf00907

 ("spi: dw: Add Baikal-T1 SPI Controller glue driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/1607071357-33378-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2c2b3ad2
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