[ALSA] hda-codec - keep the format verb at closing PCM streams
[safe/jmp/linux-2.6] / sound / pci / hda / patch_via.c
index 09f1c25..52b1d81 100644 (file)
@@ -431,8 +431,7 @@ static int via_capture_pcm_cleanup(struct hda_pcm_stream *hinfo,
                                   struct snd_pcm_substream *substream)
 {
        struct via_spec *spec = codec->spec;
-       snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number],
-                                  0, 0, 0);
+       snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]);
        return 0;
 }