summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/bytcr_rt5640.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-06-01 10:23:35 +0200
committerTakashi Iwai <tiwai@suse.de>2022-06-01 10:23:35 +0200
commit672362cbe6df049299c8ed0a463d89daf66b081c (patch)
treed3314303542d904f952638a1567f469c4e3a7119 /sound/soc/intel/boards/bytcr_rt5640.c
parent079d93b7dba8373920ad8b50e01616ce8ab3c927 (diff)
parentab0925ab728163b854ea17da09e299254a86076e (diff)
downloadlinux-672362cbe6df049299c8ed0a463d89daf66b081c.tar.gz
linux-672362cbe6df049299c8ed0a463d89daf66b081c.tar.bz2
linux-672362cbe6df049299c8ed0a463d89daf66b081c.zip
Merge tag 'asoc-fix-v5.19-rc0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.19 A few more fixes that came in during the merge window - nothing huge here, there is one core fix for DPCM from Pierre but mostly driver changes.
Diffstat (limited to 'sound/soc/intel/boards/bytcr_rt5640.c')
-rw-r--r--sound/soc/intel/boards/bytcr_rt5640.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
index 7b948a219177..ed9fa1728722 100644
--- a/sound/soc/intel/boards/bytcr_rt5640.c
+++ b/sound/soc/intel/boards/bytcr_rt5640.c
@@ -1191,12 +1191,14 @@ static int byt_rt5640_init(struct snd_soc_pcm_runtime *runtime)
{
struct snd_soc_card *card = runtime->card;
struct byt_rt5640_private *priv = snd_soc_card_get_drvdata(card);
+ struct rt5640_set_jack_data *jack_data = &priv->jack_data;
struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component;
const struct snd_soc_dapm_route *custom_map = NULL;
int num_routes = 0;
int ret;
card->dapm.idle_bias_off = true;
+ jack_data->use_platform_clock = true;
/* Start with RC clk for jack-detect (we disable MCLK below) */
if (byt_rt5640_quirk & BYT_RT5640_MCLK_EN)