Skip to content
Snippets Groups Projects
Commit 9a6246ff authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent e086e303
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment