Commit a1d9fda2 authored by Vinod Koul's avatar Vinod Koul

soundwire: Revert "soundwire: debugfs: use controller id instead of link_id"

This reverts commit 6d5e7af1 ("soundwire: debugfs: use controller id
instead of link_id") for now while we arrive at a better way for this.
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 18de2f72
...@@ -19,7 +19,7 @@ void sdw_bus_debugfs_init(struct sdw_bus *bus) ...@@ -19,7 +19,7 @@ void sdw_bus_debugfs_init(struct sdw_bus *bus)
return; return;
/* create the debugfs master-N */ /* 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); bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment