OSDN Git Service

ASoC: amd: Add driver data to acp6x machine driver
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 11 Apr 2022 13:45:31 +0000 (08:45 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:05 +0000 (19:18 +0100)
commite521f087780d07731e8c950f2f34d08358c86bc9
tree521bd5221412d5afa17c4b1de9942f5846466ef2
parent239556a34385706562a481f452ce0963fb569cb8
ASoC: amd: Add driver data to acp6x machine driver

Currently all of the quirked systems use the same card and so the
DMI quirk list doesn't contain driver data.

Add driver data to these quirks and then check the data was present
or not.  This will allow potentially setting quirks for systems with
faulty firmware that claims to have a DMIC but doesn't really.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220411134532.13538-2-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c