summaryrefslogtreecommitdiff
path: root/src/drivers/intel/soundwire/soundwire.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/soundwire/soundwire.c')
-rw-r--r--src/drivers/intel/soundwire/soundwire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/soundwire/soundwire.c b/src/drivers/intel/soundwire/soundwire.c
index f9421fc81c..0137dad5b4 100644
--- a/src/drivers/intel/soundwire/soundwire.c
+++ b/src/drivers/intel/soundwire/soundwire.c
@@ -21,7 +21,7 @@ static bool link_enabled(const struct device *dev, unsigned int link)
{
struct device *child;
- for (child = dev->link_list->children; child; child = child->sibling) {
+ for (child = dev->downstream->children; child; child = child->sibling) {
if (child->enabled && child->path.type == DEVICE_PATH_GENERIC &&
child->path.generic.id == link)
return true;