ALSA: hda - Fix dynamic ADC change working again
The commit eb541337 ALSA: hda - Make converter setups sticky changes the semantics of snd_hda_codec_cleanup_stream() not to clean up the stream at that moment but delay the action. This broke the codes expecting that the clean-up is done immediately, such as dynamic ADC changes in some codec drivers. This patch fixes the issue by introducing a lower helper, __snd_hda_codec_cleanup_stream(), to allow the immediate clean up. The original snd_hda_codec_cleanup_stream() is kept as is now. Signed-off-by:Takashi Iwai <tiwai@suse.de>
Showing
- sound/pci/hda/hda_codec.c 18 additions, 8 deletionssound/pci/hda/hda_codec.c
- sound/pci/hda/hda_codec.h 4 additions, 1 deletionsound/pci/hda/hda_codec.h
- sound/pci/hda/patch_cirrus.c 1 addition, 1 deletionsound/pci/hda/patch_cirrus.c
- sound/pci/hda/patch_conexant.c 1 addition, 1 deletionsound/pci/hda/patch_conexant.c
- sound/pci/hda/patch_realtek.c 1 addition, 1 deletionsound/pci/hda/patch_realtek.c
Loading
Please register or sign in to comment