diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-04 16:42:37 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-07 14:18:00 +0000 |
commit | e748edd9841306908b4e02dddd0afd1aa1f8b973 (patch) | |
tree | dc4b6e1032377b22dc9bc92e4ba7a159f53775fd /usr/gen_initramfs.sh | |
parent | 2c2b3ad2c4c801bab1eec7264ea6991b1e4e8f2c (diff) | |
download | linux-e748edd9841306908b4e02dddd0afd1aa1f8b973.tar.bz2 |
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: abf00907538e ("spi: dw: Add Baikal-T1 SPI Controller glue driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/1607071357-33378-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr/gen_initramfs.sh')
0 files changed, 0 insertions, 0 deletions