aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/intel/skylake/skl.h
diff options
context:
space:
mode:
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2017-06-19 10:56:34 +0100
committerMark Brown <broonie@kernel.org>2017-06-19 16:39:31 +0100
commitfd0f237572ada2b18fe1e8684ae9fa131b577a17 (patch)
treeb3f57a732eda5b73865bace12ac8b59a60a93cc5 /sound/soc/intel/skylake/skl.h
parentLinux 4.12-rc1 (diff)
downloadwireguard-linux-fd0f237572ada2b18fe1e8684ae9fa131b577a17.tar.xz
wireguard-linux-fd0f237572ada2b18fe1e8684ae9fa131b577a17.zip
ASoC: Intel: bxt: Move codec sysclk config to codec_init function
The MCLK for DA7219 does not change in this platform, but is currently being configured everytime as part of the platform_clock event handler for DAPM. The upshot of this is that we have unnecessary calls to this function, and it also means that if a stream hasn't yet been started, DA7219 driver does not have the correct MCLK rates programmed and so the HP detection feature does not operate as expected. This patch rectifies this issue by moving the sysclk call to codec_init function so it's only called once at initialisation. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Acked-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl.h')
0 files changed, 0 insertions, 0 deletions