Merge branch 'asoc-5.2' into asoc-5.3
[linux.git] / sound / soc / intel / boards / cht_bsw_max98090_ti.c
index fb775ed7f0b8bcd1742a56e79f12635681b9193a..4157c6471993d80d7f542d500a26e9cb726b788f 100644 (file)
@@ -462,6 +462,7 @@ static int snd_cht_mc_probe(struct platform_device *pdev)
        }
 
        /* override plaform name, if required */
+       snd_soc_card_cht.dev = &pdev->dev;
        mach = (&pdev->dev)->platform_data;
        platform_name = mach->mach_params.platform;
 
@@ -471,7 +472,6 @@ static int snd_cht_mc_probe(struct platform_device *pdev)
                return ret_val;
 
        /* register the soc card */
-       snd_soc_card_cht.dev = &pdev->dev;
        snd_soc_card_set_drvdata(&snd_soc_card_cht, drv);
 
        if (drv->quirks & QUIRK_PMC_PLT_CLK_0)
This page took 0.032459 seconds and 4 git commands to generate.