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

Cezary Rojewski cezary.rojewski at intel.com
Fri Oct 15 18:40:42 CEST 2021


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(-)

-- 
2.25.1



More information about the Alsa-devel mailing list