ASoC: Intel: cht_bsw_nau8824: Set card.components string

Set the card.components string using the new nau8824_components() helper
which returns a components string based on the DMI quirks inside the
nau8824 codec driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211002211459.110124-4-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Hans de Goede 2021-10-02 23:14:59 +02:00 committed by Mark Brown
parent efee0fca19
commit 7924f1bc94
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -278,6 +278,8 @@ static int snd_cht_mc_probe(struct platform_device *pdev)
snd_soc_card_cht.driver_name = DRIVER_NAME;
}
snd_soc_card_cht.components = nau8824_components();
/* set pm ops */
if (sof_parent)
pdev->dev.driver->pm = &snd_soc_pm_ops;