diff options
author | Vinod Koul <vkoul@kernel.org> | 2021-02-06 11:21:22 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-06 11:22:21 +0100 |
commit | a1d9fda296b86842014f6799a108f71726696fe2 (patch) | |
tree | 8e86815044fe593a1ac8ff59940da1deb3c78a51 /drivers/soundwire | |
parent | soundwire: return earlier if no slave is attached (diff) | |
download | linux-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.c | 2 |
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); } |