aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorZhang Changzhong <[email protected]>2020-12-04 08:42:37 +0000
committerMark Brown <[email protected]>2020-12-07 14:18:00 +0000
commite748edd9841306908b4e02dddd0afd1aa1f8b973 (patch)
treedc4b6e1032377b22dc9bc92e4ba7a159f53775fd /net/switchdev/switchdev.c
parentspi: spi-fsl-dspi: Use max_native_cs instead of num_chipselect to set SPI_MCR (diff)
downloadkernel-e748edd9841306908b4e02dddd0afd1aa1f8b973.tar.gz
kernel-e748edd9841306908b4e02dddd0afd1aa1f8b973.zip
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 <[email protected]> Signed-off-by: Zhang Changzhong <[email protected]> Acked-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions