]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Enabling ASRC for RT5663 codec on kabylake platform
authorHarsha Priya N <harshapriya.n@intel.com>
Fri, 28 Jul 2017 00:41:25 +0000 (17:41 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jul 2017 12:42:23 +0000 (13:42 +0100)
commitba25de767ebc2f52701b1a6b262243f104e44d22
tree6cec5a22627cb8b3d536a182dfa422af95e577c2
parent5daad7768f30e5208a40f8233536f274fa97ca66
ASoC: Intel: Enabling ASRC for RT5663 codec on kabylake platform

This patch fixes the cracking noise in rt5663 headphones for kabylake platform
by calling rt5663_sel_asrc_clk_src() for RT5663_AD_STEREO_FILTER to set ASRC.

The ASRC function is for asynchronous MCLK and LRCK. For RT5663 ASRC should be
enabled to  support special i2s clock format like Intel's 100fs.
ASRC function will track i2s clock and generate a corresponding
system clock for codec. Calling this function helps select the clock source
for both RT5663_AD_STEREO_FILTER and RT5663_DA_STEREO_FILTER filters
which fixes the crackling sound.

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c