]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop soundwire-debugfs-use-controller-id-instead-of-link_.patch
authorSasha Levin <sashal@kernel.org>
Tue, 2 Mar 2021 19:58:37 +0000 (14:58 -0500)
committerSasha Levin <sashal@kernel.org>
Tue, 2 Mar 2021 19:58:37 +0000 (14:58 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-5.10/series
queue-5.10/soundwire-debugfs-use-controller-id-instead-of-link_.patch [deleted file]
queue-5.11/series
queue-5.11/soundwire-debugfs-use-controller-id-instead-of-link_.patch [deleted file]

index 721637779d3a260dfaf47c6879ead12aca3869ba..535732fb2b38cf981504ce1edec03dc62ad1fb4e 100644 (file)
@@ -392,7 +392,6 @@ phy-rockchip-emmc-emmc_phy_init-always-return-0.patch
 phy-cadence-torrent-fix-error-code-in-cdns_torrent_p.patch
 misc-eeprom_93xx46-add-module-alias-to-avoid-breakin.patch
 pci-rcar-always-allocate-msi-addresses-in-32bit-spac.patch
-soundwire-debugfs-use-controller-id-instead-of-link_.patch
 soundwire-cadence-fix-ack-nak-handling.patch
 pwm-rockchip-enable-apb-clock-during-register-access.patch
 pwm-rockchip-rockchip_pwm_probe-remove-superfluous-c.patch
diff --git a/queue-5.10/soundwire-debugfs-use-controller-id-instead-of-link_.patch b/queue-5.10/soundwire-debugfs-use-controller-id-instead-of-link_.patch
deleted file mode 100644 (file)
index 590f907..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-From 7abd55a43f186fd1f58fc0ec99dda57c9d66e1ef Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Jan 2021 16:25:59 +0000
-Subject: soundwire: debugfs: use controller id instead of link_id
-
-From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-
-[ Upstream commit 6d5e7af1f6f5924de5dd1ebe97675c2363100878 ]
-
-link_id can be zero and if we have multiple controller instances
-in a system like Qualcomm debugfs will end-up with duplicate namespace
-resulting in incorrect debugfs entries.
-
-Using id should give a unique debugfs directory entry and should fix below
-warning too.
-"debugfs: Directory 'master-0' with parent 'soundwire' already present!"
-
-Fixes: bf03473d5bcc ("soundwire: add debugfs support")
-Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Link: https://lore.kernel.org/r/20210115162559.20869-1-srinivas.kandagatla@linaro.org
-Signed-off-by: Vinod Koul <vkoul@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/soundwire/debugfs.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c
-index b6cad0d59b7b9..5f9efa42bb25b 100644
---- a/drivers/soundwire/debugfs.c
-+++ b/drivers/soundwire/debugfs.c
-@@ -19,7 +19,7 @@ void sdw_bus_debugfs_init(struct sdw_bus *bus)
-               return;
-       /* create the debugfs master-N */
--      snprintf(name, sizeof(name), "master-%d", bus->link_id);
-+      snprintf(name, sizeof(name), "master-%d", bus->id);
-       bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root);
- }
--- 
-2.27.0
-
index a742f2eb5f9c118b5d15836288c01d418ecf060c..7b77b097235a48fcdda74c04c352db01abddd520 100644 (file)
@@ -477,7 +477,6 @@ phy-rockchip-emmc-emmc_phy_init-always-return-0.patch
 phy-cadence-torrent-fix-error-code-in-cdns_torrent_p.patch
 misc-eeprom_93xx46-add-module-alias-to-avoid-breakin.patch
 pci-rcar-always-allocate-msi-addresses-in-32bit-spac.patch
-soundwire-debugfs-use-controller-id-instead-of-link_.patch
 soundwire-cadence-fix-ack-nak-handling.patch
 pwm-rockchip-enable-apb-clock-during-register-access.patch
 pwm-rockchip-rockchip_pwm_probe-remove-superfluous-c.patch
diff --git a/queue-5.11/soundwire-debugfs-use-controller-id-instead-of-link_.patch b/queue-5.11/soundwire-debugfs-use-controller-id-instead-of-link_.patch
deleted file mode 100644 (file)
index a4eaee3..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-From eeb2e7e71fde89978f8fb0c1e38322dae2c6cf91 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Jan 2021 16:25:59 +0000
-Subject: soundwire: debugfs: use controller id instead of link_id
-
-From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-
-[ Upstream commit 6d5e7af1f6f5924de5dd1ebe97675c2363100878 ]
-
-link_id can be zero and if we have multiple controller instances
-in a system like Qualcomm debugfs will end-up with duplicate namespace
-resulting in incorrect debugfs entries.
-
-Using id should give a unique debugfs directory entry and should fix below
-warning too.
-"debugfs: Directory 'master-0' with parent 'soundwire' already present!"
-
-Fixes: bf03473d5bcc ("soundwire: add debugfs support")
-Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Link: https://lore.kernel.org/r/20210115162559.20869-1-srinivas.kandagatla@linaro.org
-Signed-off-by: Vinod Koul <vkoul@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/soundwire/debugfs.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c
-index b6cad0d59b7b9..5f9efa42bb25b 100644
---- a/drivers/soundwire/debugfs.c
-+++ b/drivers/soundwire/debugfs.c
-@@ -19,7 +19,7 @@ void sdw_bus_debugfs_init(struct sdw_bus *bus)
-               return;
-       /* create the debugfs master-N */
--      snprintf(name, sizeof(name), "master-%d", bus->link_id);
-+      snprintf(name, sizeof(name), "master-%d", bus->id);
-       bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root);
- }
--- 
-2.27.0
-