aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch
deleted file mode 100644
index 2352a9bb..00000000
--- a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69-amdx86/0007-spi-amd-Pass-probe-errors-back-to-driver-core.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 0199162e835d63769a67215407b95dcfa6203762 Mon Sep 17 00:00:00 2001
-From: Lukas Wunner <lukas@wunner.de>
-Date: Mon, 4 May 2020 13:12:02 +0200
-Subject: [PATCH 07/21] spi: amd: Pass probe errors back to driver core
-
-If probing fails, the AMD SPI driver pretends success to the driver core
-by returning 0. Return the errno instead.
-
-Signed-off-by: Lukas Wunner <lukas@wunner.de>
-Link: https://lore.kernel.org/r/689f29a359718dab4f5de9ee66c02ea97b3bd9e8.1588590210.git.lukas@wunner.de
-Signed-off-by: Mark Brown <broonie@kernel.org>
-Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
----
- drivers/spi/spi-amd.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/spi/spi-amd.c b/drivers/spi/spi-amd.c
-index fe088ef9752f..bafdb6249824 100755
---- a/drivers/spi/spi-amd.c
-+++ b/drivers/spi/spi-amd.c
-@@ -295,7 +295,7 @@ static int amd_spi_probe(struct platform_device *pdev)
- err_free_master:
- spi_master_put(master);
-
-- return 0;
-+ return err;
- }
-
- static int amd_spi_remove(struct platform_device *pdev)
---
-2.17.1
-