Browse Source

ENGR00290229 ASoC: fsl: Drop snd_soc_dapm_sync() in imx-wm8962

As DAPM would do the sync() for us, we don't need to handle it by ourselves.
And leaving snd_soc_dapm_sync() here is dangerous because it would disable
the clock from WM8962 during the short period of the output route changing
since we don't leave the alternative route's enanbling to this machine driver
but to DAPM core.

Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit c4dcde0b51)
isee-imx_3.14.28.y
Nicolin Chen 7 years ago
committed by Nitin Garg
parent
commit
1b7581c93f
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      sound/soc/fsl/imx-wm8962.c

+ 0
- 2
sound/soc/fsl/imx-wm8962.c View File

@ -108,7 +108,6 @@ static int hpjack_status_check(void)
snd_soc_dapm_enable_pin(&priv->codec->dapm, "Ext Spk");
ret = 0;
}
snd_soc_dapm_sync(&priv->codec->dapm);
envp[0] = "NAME=headphone";
envp[1] = buf;
@ -154,7 +153,6 @@ static int micjack_status_check(void)
snd_soc_dapm_enable_pin(&priv->codec->dapm, "DMIC");
ret = 0;
}
snd_soc_dapm_sync(&priv->codec->dapm);
envp[0] = "NAME=microphone";
envp[1] = buf;


Loading…
Cancel
Save