aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-10-02 23:14:59 +0200
committerMark Brown <broonie@kernel.org>2021-10-04 15:55:30 +0100
commit7924f1bc94041a3d512f2922065b196ca8e1210e (patch)
treed33658304f9f34d806669fe5b1fee82217ee2280 /sound/soc/intel
parentASoC: nau8824: Add a nau8824_components() helper (diff)
downloadlinux-dev-7924f1bc94041a3d512f2922065b196ca8e1210e.tar.xz
linux-dev-7924f1bc94041a3d512f2922065b196ca8e1210e.zip
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>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/boards/cht_bsw_nau8824.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/cht_bsw_nau8824.c b/sound/soc/intel/boards/cht_bsw_nau8824.c
index da534a0b2133..bad32d2bdf89 100644
--- a/sound/soc/intel/boards/cht_bsw_nau8824.c
+++ b/sound/soc/intel/boards/cht_bsw_nau8824.c
@@ -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;