mbox series

[0/5] ALSA: hda: New NHLT functions and cleanup

Message ID 20211015164047.44492-1-cezary.rojewski@intel.com (mailing list archive)
Headers show
Series ALSA: hda: New NHLT functions and cleanup | expand

Message

Cezary Rojewski Oct. 15, 2021, 4:40 p.m. UTC
Changes add two crucial functions: endpoint presence-check and
retrieval of endpoint's BLOB (hardware configuration) to NHLT API.

Few cleanups accompany the above:
First, drop device pointer usage in NHLT interface as those function
don't really make use of it. Work is done to align NHLT-struct naming
with other, commonly used ACPI-structs. While cleaning up, don't forget
about "is DMIC in NHLT?" check. No need to check for channel count or
anything DMIC-configuration related, just straight up verify link_type
presence.

Amadeusz Sławiński (5):
  ALSA: hda: Drop device-argument in NHLT functions
  ALSA: hda: Follow ACPI convention in NHLT struct naming
  ALSA: hda: Fill gaps in NHLT endpoint-interface
  ALSA: hda: Simplify DMIC-in-NHLT check
  ASoC: Intel: Skylake: Use NHLT API to search for blob

 include/sound/intel-nhlt.h             |  37 +++++--
 sound/hda/intel-dsp-config.c           |   6 +-
 sound/hda/intel-nhlt.c                 | 127 ++++++++++++++++++++++---
 sound/soc/intel/skylake/skl-nhlt.c     | 108 +--------------------
 sound/soc/intel/skylake/skl-pcm.c      |   3 +
 sound/soc/intel/skylake/skl-topology.c |  27 +++---
 sound/soc/intel/skylake/skl-topology.h |   1 +
 sound/soc/intel/skylake/skl.c          |   5 +-
 sound/soc/intel/skylake/skl.h          |   6 +-
 sound/soc/sof/intel/hda.c              |   6 +-
 10 files changed, 173 insertions(+), 153 deletions(-)