ASoC: Intel: Make glk+rt5682 echo ref dynamic
authorCurtis Malainey <cujomalainey@chromium.org>
Wed, 25 Mar 2020 21:32:42 +0000 (16:32 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2020 17:55:27 +0000 (17:55 +0000)
Without the dynamic flag to allow runtime routing, the card cannot
probe on chromebooks because SOF is constantly waiting for the link.
Adding flag back to allow upstream kernels to work on rt5682 based
chromebooks since SOF can now ignore the hard coded front end.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200325213245.28247-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/glk_rt5682_max98357a.c

index ea1de8b3f3cdd42544737c5a137786167388d3e3..3c576b33b9c644db4dc8691613f987ac983e7948 100644 (file)
@@ -409,6 +409,7 @@ static struct snd_soc_dai_link geminilake_dais[] = {
                .init = NULL,
                .capture_only = 1,
                .nonatomic = 1,
+               .dynamic = 1,
                SND_SOC_DAILINK_REG(echoref, dummy, platform),
        },
        [GLK_DPCM_AUDIO_REF_CP] = {