diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-13 11:59:26 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-13 11:59:26 +0100 |
commit | c8a1a8985d705339a346203f26d2d6ff137f84c9 (patch) | |
tree | e838790e6fb9b9a3ff0f08c465c3ec256dbcdf0c /sound/pci/hda/hda_codec.c | |
parent | 946835074e026f4bbe9f3c2b091dca6346bd1474 (diff) | |
parent | 9411e21cd0cc4fd046b4f448417b0e103e80951c (diff) | |
download | op-kernel-dev-c8a1a8985d705339a346203f26d2d6ff137f84c9.zip op-kernel-dev-c8a1a8985d705339a346203f26d2d6ff137f84c9.tar.gz |
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 29eeb74..98884bc 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, } EXPORT_SYMBOL_HDA(snd_hda_multi_out_dig_prepare); +int snd_hda_multi_out_dig_cleanup(struct hda_codec *codec, + struct hda_multi_out *mout) +{ + mutex_lock(&codec->spdif_mutex); + cleanup_dig_out_stream(codec, mout->dig_out_nid); + mutex_unlock(&codec->spdif_mutex); + return 0; +} +EXPORT_SYMBOL_HDA(snd_hda_multi_out_dig_cleanup); + /* * release the digital out */ |