Merge tag 'sound-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-block.git] / sound / soc / sof / ipc4-topology.c
index a010e7c38817e05649b4b61123642ed68f2dac4d..059eebf0a68756dc6c99882e7dcd6f0a118daa69 100644 (file)
@@ -2349,10 +2349,12 @@ static int sof_ipc4_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *
        }
 
        if (!src_fw_module || !sink_fw_module) {
-               /* The NULL module will print as "(efault)" */
-               dev_err(sdev->dev, "source %s or sink %s widget weren't set up properly\n",
-                       src_fw_module->man4_module_entry.name,
-                       sink_fw_module->man4_module_entry.name);
+               dev_err(sdev->dev,
+                       "cannot bind %s -> %s, no firmware module for: %s%s\n",
+                       src_widget->widget->name, sink_widget->widget->name,
+                       src_fw_module ? "" : " source",
+                       sink_fw_module ? "" : " sink");
+
                return -ENODEV;
        }