From: Takashi Iwai Date: Fri, 27 Feb 2015 17:17:28 +0000 (+0100) Subject: ALSA: hda - Implement unbind more safely X-Git-Tag: omap-for-v4.2/o2_dc~120^2~6^2~43^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a6246ff78ac33af78f82704cde6fec361597eea;p=pandora-kernel.git 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 --- Reading git-diff-tree failed