We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de9758 commit da0fe8fCopy full SHA for da0fe8f
sound/soc/sof/pcm.c
@@ -643,16 +643,17 @@ static int sof_pcm_probe(struct snd_soc_component *component)
643
"%s/%s",
644
plat_data->tplg_filename_prefix,
645
plat_data->tplg_filename);
646
- if (!tplg_filename)
647
- return -ENOMEM;
+ if (!tplg_filename) {
+ ret = -ENOMEM;
648
+ goto pm_error;
649
+ }
650
651
ret = snd_sof_load_topology(component, tplg_filename);
- if (ret < 0) {
652
+ if (ret < 0)
653
dev_err(component->dev, "error: failed to load DSP topology %d\n",
654
ret);
- return ret;
- }
655
656
+pm_error:
657
pm_runtime_mark_last_busy(component->dev);
658
pm_runtime_put_autosuspend(component->dev);
659
0 commit comments