commit | 9a6246ff78ac33af78f82704cde6fec361597eea | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Feb 27 18:17:28 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Mar 03 11:28:12 2015 +0100 |
tree | abb77fd575a77c4fe97ac1d5b3d76682d465935a | |
parent | e086e3035e0691b362755d1b5e24df631eee335a [diff] |
ALSA: hda - Implement unbind more safely Now we have all pieces ready, and put them into places: - add the hda_pcm refcount to azx_pcm_open() and azx_pcm_close(), - call the most of cleanup code in hda_codec_reset() from the codec driver remove, - call the same code also from the hda_codec object free. Then the codec driver can be unbound more safely now. Signed-off-by: Takashi Iwai <tiwai@suse.de>