summaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorMac Chiang <mac.chiang@intel.com>2018-06-01 01:18:32 +0800
committerMark Brown <broonie@kernel.org>2018-06-01 11:27:30 +0100
commit56c3a95385df558a471f7fcedba73c9ed836a906 (patch)
tree842ad860d7c12924a104b41b8a3ec65fe165ddc4 /sound/ppc
parente9be4ffd4f40fcb18209dc5120233f2d11a24b6a (diff)
downloadlinux-56c3a95385df558a471f7fcedba73c9ed836a906.tar.bz2
ASoC: Intel: kbl: Move codec sysclk config to codec_init function
On APL, commit fd0f237572ad ("ASoC: Intel: bxt: Move codec sysclk config to codec_init function") fixed an issue related to jack detection. 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. The same fix is needed on KBL. 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: Mac Chiang <mac.chiang@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions