summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bitbang.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-06-10 07:19:56 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2019-06-10 07:19:56 -1000
commite59bf4282c8b0abd27cc4d550e20ec5b85ccaa19 (patch)
tree34770c746c97666e28c2b65d1b63651614eec8a1 /drivers/spi/spi-bitbang.c
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008 (diff)
parentf3440d9a0da292dc4998d9393162fcfb996fd671 (diff)
downloadtalos-op-linux-e59bf4282c8b0abd27cc4d550e20ec5b85ccaa19.tar.gz
talos-op-linux-e59bf4282c8b0abd27cc4d550e20ec5b85ccaa19.zip
Merge tag 'spi-fix-v5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown: "A small set of fixes here. One core fix for error handling when we fail to set up the hardware before initiating a transfer and another one reverting a change in the core which broke Raspberry Pi in common use cases as part of some optimization work. There's also a couple of driver specific fixes" * tag 'spi-fix-v5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: abort spi_sync if failed to prepare_transfer_hardware spi: spi-fsl-spi: call spi_finalize_current_message() at the end spi: bitbang: Fix NULL pointer dereference in spi_unregister_master spi: Fix Raspberry Pi breakage
Diffstat (limited to 'drivers/spi/spi-bitbang.c')
-rw-r--r--drivers/spi/spi-bitbang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c
index dad566bfe372..d84e22dd6f9f 100644
--- a/drivers/spi/spi-bitbang.c
+++ b/drivers/spi/spi-bitbang.c
@@ -406,7 +406,7 @@ int spi_bitbang_start(struct spi_bitbang *bitbang)
if (ret)
spi_master_put(master);
- return 0;
+ return ret;
}
EXPORT_SYMBOL_GPL(spi_bitbang_start);
OpenPOWER on IntegriCloud