[PATCH 0/4] ALSA: hda: Unify codec construction
Cezary Rojewski
cezary.rojewski at intel.com
Wed Jul 20 15:06:18 CEST 2022
A follow up to the recent HDAudio fixes series [1]. Given the recently
reported regression [2], before the page fault occurring on codec
shutdown can be fixed, codec construction procedure needs to be updated
for skylake and sof-intel drivers. Drivers: pci-hda and avs need no
changes - already making use of snd_hda_codec_device_init().
[1]: https://lore.kernel.org/alsa-devel/20220706120230.427296-7-cezary.rojewski@intel.com/
[2]: https://lore.kernel.org/alsa-devel/3c40df55-3aee-1e08-493b-7b30cd84dc00@linux.intel.com/
Cezary Rojewski (4):
ASoC: hdac_hda: Disconnect struct hdac_hda_priv and hda_codec
ALSA: hda: Make snd_hda_codec_device_init() the only codec constructor
ALSA: hda: Always free codec on the device release
ALSA: hda: Fix page fault in snd_hda_codec_shutdown()
include/sound/hda_codec.h | 2 -
include/sound/hdaudio_ext.h | 4 +-
sound/hda/ext/hdac_ext_bus.c | 34 ++++++--------
sound/pci/hda/hda_codec.c | 49 +++++++++-----------
sound/soc/codecs/hdac_hda.c | 26 ++++-------
sound/soc/codecs/hdac_hda.h | 2 +-
sound/soc/intel/boards/hda_dsp_common.c | 2 +-
sound/soc/intel/boards/skl_hda_dsp_generic.c | 2 +-
sound/soc/intel/skylake/skl.c | 24 ++++------
sound/soc/sof/intel/hda-codec.c | 29 +++++-------
10 files changed, 73 insertions(+), 101 deletions(-)
--
2.25.1
More information about the Alsa-devel
mailing list