diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-03-18 04:57:50 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:26 -0400 |
commit | 888afa15418f001896bc11f498f9348e029611bd (patch) | |
tree | 7e0bb8f9c6d8d5d86b4cbd1fa473712f8b2f7c39 /sound/pci/hda/hda_codec.h | |
parent | 117f257d7a9599ff9cb5ab7a6a10201c6294b5f1 (diff) |
[ALSA] hda-codec - keep the format verb at closing PCM streams
Keep the format verb at closing PCM streams.
Introduced snd_hda_codec_cleanup_stream() for the parcicular purpose.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 301b5227bfb1..dcd390b2bbaa 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -722,6 +722,7 @@ int snd_hda_build_pcms(struct hda_bus *bus); | |||
722 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, | 722 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, |
723 | u32 stream_tag, | 723 | u32 stream_tag, |
724 | int channel_id, int format); | 724 | int channel_id, int format); |
725 | void snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid); | ||
725 | unsigned int snd_hda_calc_stream_format(unsigned int rate, | 726 | unsigned int snd_hda_calc_stream_format(unsigned int rate, |
726 | unsigned int channels, | 727 | unsigned int channels, |
727 | unsigned int format, | 728 | unsigned int format, |