ALSA: hda: cs35l41: Support systems with missing _DSD properties
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 15 Aug 2023 16:10:33 +0000 (17:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Aug 2023 18:51:19 +0000 (20:51 +0200)
commitef4ba63f12b03532378395a8611f2f6e22ece67b
tree8bf591a07e41dead5dc862e5a997a6c643335ddc
parentff7a0b4016cb349f9148d0bf9c664e604167128c
ALSA: hda: cs35l41: Support systems with missing _DSD properties

Some systems using CS35L41 with HDA were released without some
required _DSD properties in ACPI. To support these special cases,
add an api to configure the correct properties for systems with
this issue.

This initial commit moves the no _DSD support for Lenovo
Legion Laptops (CLSA0100, CLSA0101) into a new framework which
can be extended to support additional laptops in the future.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230815161033.3519-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/Makefile
sound/pci/hda/cs35l41_hda.c
sound/pci/hda/cs35l41_hda.h
sound/pci/hda/cs35l41_hda_property.c [new file with mode: 0644]
sound/pci/hda/cs35l41_hda_property.h [new file with mode: 0644]