ASoC: cs35l41: Read System Name from ACPI _SUB to identify firmware
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 7 Jul 2022 15:10:37 +0000 (16:10 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jul 2022 11:35:10 +0000 (12:35 +0100)
commitc1ad138822a1be95a7a7b122521c2415583a0c26
tree26739585584fc8a258173c88a5ca2d61d1a6c6be
parent93064e15c8a3a8394319a11b8037666e4b7d653d
ASoC: cs35l41: Read System Name from ACPI _SUB to identify firmware

When loading firmware, wm_adsp uses a number of parameters to
determine the path of the firmware and tuning files to load.
One of these parameters is system_name.
Add support in cs35l41 to read this system name from the ACPI
_SUB ID in order to uniquely identify the firmware and tuning
mapped to a particular system.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220707151037.3901050-3-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41.c