]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop soundwire-slave-don-t-init-debugfs-on-device-registr.patch from
authorSasha Levin <sashal@kernel.org>
Wed, 24 Jun 2020 00:54:52 +0000 (20:54 -0400)
committerSasha Levin <sashal@kernel.org>
Wed, 24 Jun 2020 00:54:52 +0000 (20:54 -0400)
4.19

Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.19/series
queue-4.19/soundwire-slave-don-t-init-debugfs-on-device-registr.patch [deleted file]

index 61bb000af4140f5ca30d384d7ae6ee675d2ad71d..0012610f10448512621724f84040ce31f484fbfd 100644 (file)
@@ -61,7 +61,6 @@ s390-qdio-put-thinint-indicator-after-early-error.patch
 tty-hvc-fix-data-abort-due-to-race-in-hvc_open.patch
 slimbus-ngd-get-drvdata-from-correct-device.patch
 thermal-drivers-ti-soc-thermal-avoid-dereferencing-e.patch
-soundwire-slave-don-t-init-debugfs-on-device-registr.patch
 usb-dwc3-gadget-properly-handle-failed-kick_transfer.patch
 staging-sm750fb-add-missing-case-while-setting-fb_vi.patch
 pci-v3-semi-fix-a-memory-leak-in-v3_pci_probe-error-.patch
diff --git a/queue-4.19/soundwire-slave-don-t-init-debugfs-on-device-registr.patch b/queue-4.19/soundwire-slave-don-t-init-debugfs-on-device-registr.patch
deleted file mode 100644 (file)
index a05497c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From c0e88dd8621ce8c25b505eb4053e86a09a4adc9d Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 20 Apr 2020 02:51:15 +0800
-Subject: soundwire: slave: don't init debugfs on device registration error
-
-From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
-
-[ Upstream commit 8893ab5e8ee5d7c12e0fc1dca4a309475064473d ]
-
-The error handling flow seems incorrect, there is no reason to try and
-add debugfs support if the device registration did not
-succeed. Return on error.
-
-Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
-Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
-Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
-Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
-Link: https://lore.kernel.org/r/20200419185117.4233-2-yung-chuan.liao@linux.intel.com
-Signed-off-by: Vinod Koul <vkoul@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/soundwire/slave.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/drivers/soundwire/slave.c b/drivers/soundwire/slave.c
-index ac103bd0c1760..b6330b6672d59 100644
---- a/drivers/soundwire/slave.c
-+++ b/drivers/soundwire/slave.c
-@@ -55,6 +55,8 @@ static int sdw_slave_add(struct sdw_bus *bus,
-               list_del(&slave->node);
-               mutex_unlock(&bus->bus_lock);
-               put_device(&slave->dev);
-+
-+              return ret;
-       }
-       return ret;
--- 
-2.25.1
-