OSDN Git Service

cht-bsw-rt5672: Add support for the components string
authorHans de Goede <hdegoede@redhat.com>
Fri, 7 May 2021 13:11:37 +0000 (15:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 16:19:15 +0000 (18:19 +0200)
commit90437914dadb716e504629c52e66e7a9da224179
treec2eaa46739b2f65ddb225638f4b4c0126afa2ffe
parente842745a1e1cf91e44fdc4ad17abdd36a7fdb57d
cht-bsw-rt5672: Add support for the components string

Upcoming kernel versions will report which speaker and dmic config is used
by the device in a components strings so that we don't need to duplicate
the DMI quirks in both the kernel and the UCM profile.

Add support for getting the speaker and dmic config from the components string.

Note the old DMI matching is kept for support of older kernels, this means
that on devices where the old DMI matching was used things like:

Define.MonoSpeaker ""

Will now be done twice, this is harmless as long as the kernel and UCM profile
DMI quirks are in sync, which they are.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/cht-bsw-rt5672/HiFi.conf