aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-13 05:59:26 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-13 05:59:26 -0500
commitc8a1a8985d705339a346203f26d2d6ff137f84c9 (patch)
treee838790e6fb9b9a3ff0f08c465c3ec256dbcdf0c /sound/pci/hda/hda_codec.c
parent946835074e026f4bbe9f3c2b091dca6346bd1474 (diff)
parent9411e21cd0cc4fd046b4f448417b0e103e80951c (diff)
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 29eeb748561d..98884bc8f35f 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -3119,6 +3119,16 @@ int snd_hda_multi_out_dig_prepare(struct hda_codec *codec,
3119} 3119}
3120EXPORT_SYMBOL_HDA(snd_hda_multi_out_dig_prepare); 3120EXPORT_SYMBOL_HDA(snd_hda_multi_out_dig_prepare);
3121 3121
3122int snd_hda_multi_out_dig_cleanup(struct hda_codec *codec,
3123 struct hda_multi_out *mout)
3124{
3125 mutex_lock(&codec->spdif_mutex);
3126 cleanup_dig_out_stream(codec, mout->dig_out_nid);
3127 mutex_unlock(&codec->spdif_mutex);
3128 return 0;
3129}
3130EXPORT_SYMBOL_HDA(snd_hda_multi_out_dig_cleanup);
3131
3122/* 3132/*
3123 * release the digital out 3133 * release the digital out
3124 */ 3134 */