Skip to content

Commit b34040b

Browse files
keyonjieplbossart
authored andcommitted
ASoC: SOF: trace: fix a put stream failed issue
We clear hstream->opened in hda_dsp_stream_put_cstream(), the redundant clear before that is leading to *_put_cstream() fail and error like 'tag 1 not opened!' reported. Here remove this extra clear to fix the issue. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
1 parent 3c1f692 commit b34040b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/sof/intel/hda-trace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ int hda_dsp_trace_release(struct snd_sof_dev *sdev)
7676

7777
if (sdev->hda->dtrace_stream) {
7878
hstream = &sdev->hda->dtrace_stream->hstream;
79-
hstream->opened = false;
8079
hda_dsp_stream_put(sdev,
8180
SNDRV_PCM_STREAM_CAPTURE,
8281
hstream->stream_tag);

0 commit comments

Comments
 (0)