diff options
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 87db3c410a10..220784bb76a7 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -296,8 +296,7 @@ static int ad198x_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, | |||
296 | struct snd_pcm_substream *substream) | 296 | struct snd_pcm_substream *substream) |
297 | { | 297 | { |
298 | struct ad198x_spec *spec = codec->spec; | 298 | struct ad198x_spec *spec = codec->spec; |
299 | snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number], | 299 | snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]); |
300 | 0, 0, 0); | ||
301 | return 0; | 300 | return 0; |
302 | } | 301 | } |
303 | 302 | ||
@@ -3325,8 +3324,7 @@ static int ad1984_pcm_dmic_cleanup(struct hda_pcm_stream *hinfo, | |||
3325 | struct hda_codec *codec, | 3324 | struct hda_codec *codec, |
3326 | struct snd_pcm_substream *substream) | 3325 | struct snd_pcm_substream *substream) |
3327 | { | 3326 | { |
3328 | snd_hda_codec_setup_stream(codec, 0x05 + substream->number, | 3327 | snd_hda_codec_cleanup_stream(codec, 0x05 + substream->number); |
3329 | 0, 0, 0); | ||
3330 | return 0; | 3328 | return 0; |
3331 | } | 3329 | } |
3332 | 3330 | ||