24 Jan
2020
24 Jan
'20
9 p.m.
+int sof_probe_compr_open(struct snd_compr_stream *cstream,
struct snd_soc_dai *dai)
+{
- struct snd_sof_dev *sdev =
snd_soc_component_get_drvdata(dai->component);
- int ret;
- ret = snd_sof_probe_compr_assign(sdev, cstream, dai);
- if (ret < 0) {
dev_err(dai->dev, "Failed to assign probe stream: %d\n", ret);
return ret;
- }
- sdev->extractor = ret;
could you either rename the 'extractor' field to something meaningful or add a comment on what is stored in this field? A stream tag? a device number? It's only used once for the init.