From: Hans de Goede Date: Fri, 2 Apr 2021 14:07:47 +0000 (+0200) Subject: ASoC: Intel: cht_bsw_rt5672: Set card.components string X-Git-Tag: accepted/tizen/unified/20230118.172025~7091^2~1^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e992a51b1d14317f414d4b9935966dca96ac0b36;p=platform%2Fkernel%2Flinux-rpi.git ASoC: Intel: cht_bsw_rt5672: Set card.components string Set the card.components string using the new rt5670_components() helper which returns a components string based on the DMI quirks inside the rt5670 codec driver. Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210402140747.174716-7-hdegoede@redhat.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/boards/cht_bsw_rt5672.c b/sound/soc/intel/boards/cht_bsw_rt5672.c index 10d5ed2..e358632 100644 --- a/sound/soc/intel/boards/cht_bsw_rt5672.c +++ b/sound/soc/intel/boards/cht_bsw_rt5672.c @@ -493,6 +493,8 @@ static int snd_cht_mc_probe(struct platform_device *pdev) if (ret_val) return ret_val; + snd_soc_card_cht.components = rt5670_components(); + drv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_3"); if (IS_ERR(drv->mclk)) { dev_err(&pdev->dev,