Commit e992a51b authored by Hans de Goede's avatar Hans de Goede Committed by Mark Brown

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: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210402140747.174716-7-hdegoede@redhat.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3d534537
...@@ -493,6 +493,8 @@ static int snd_cht_mc_probe(struct platform_device *pdev) ...@@ -493,6 +493,8 @@ static int snd_cht_mc_probe(struct platform_device *pdev)
if (ret_val) if (ret_val)
return ret_val; return ret_val;
snd_soc_card_cht.components = rt5670_components();
drv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_3"); drv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_3");
if (IS_ERR(drv->mclk)) { if (IS_ERR(drv->mclk)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment