]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Refactor Intel NHLT init
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 23 Apr 2020 16:03:10 +0000 (18:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Apr 2020 06:20:37 +0000 (08:20 +0200)
commit0d283287a42027e8a618bcdf17b79578041ebabd
treeea1e958168d9e68072d6841b571b788d8ed61241
parentae83d0b416db002fe95601e7f97f64b59514d936
ALSA: hda: Refactor Intel NHLT init

NHLT fetch based on _DSM prevents ACPI table override mechanism from
being utilized. Make use of acpi_get_table to enable it and get rid of
redundant code. In consequence, NHLT can be overridden just like any
other ACPI table, e.g.: DSDT or SSDT.

Change has been verified on all Intel AVS architecture platforms, RVP
and production laptops both.

Change possible due to addition of NHLT signature to the list of
standard ACPI tables:
https://patchwork.kernel.org/patch/11463235/

Override helps not only with debug purposes but also allows user for
table adjustment when one found on their production hardware is invalid.
Shared official NHLT spec is now available to community at:
https://01.org/blogs/intel-smart-sound-technology-audio-dsp

NHLT support for iASL is still ongoing subject but should be available
in nearest future.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20200423160310.28019-1-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/intel-nhlt.c