summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-02-06 11:21:22 +0100
committerVinod Koul <vkoul@kernel.org>2021-02-06 11:22:21 +0100
commita1d9fda296b86842014f6799a108f71726696fe2 (patch)
tree8e86815044fe593a1ac8ff59940da1deb3c78a51 /drivers/soundwire
parentsoundwire: return earlier if no slave is attached (diff)
downloadlinux-a1d9fda296b86842014f6799a108f71726696fe2.tar.xz
linux-a1d9fda296b86842014f6799a108f71726696fe2.zip
soundwire: Revert "soundwire: debugfs: use controller id instead of link_id"
This reverts commit 6d5e7af1f6f5 ("soundwire: debugfs: use controller id instead of link_id") for now while we arrive at a better way for this. Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r--drivers/soundwire/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c
index 5f9efa42bb25..b6cad0d59b7b 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->id);
+ snprintf(name, sizeof(name), "master-%d", bus->link_id);
bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root);
}