summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-27 13:02:00 -0200
committerMark Brown <broonie@kernel.org>2014-11-27 17:42:01 +0000
commitd819ce965d451aac08e46c9f8e2119fe3a845786 (patch)
treebdd42febb1f4e928794b9f13005737bd5a3b9cf1 /sound/soc/codecs/rt5645.c
parentebc01f593b58e1896150fc2e3cbdd0116323c52c (diff)
downloadlinux-d819ce965d451aac08e46c9f8e2119fe3a845786.tar.gz
linux-d819ce965d451aac08e46c9f8e2119fe3a845786.tar.bz2
linux-d819ce965d451aac08e46c9f8e2119fe3a845786.zip
ASoC: sgtl5000: Remove MCLK restriction
According to the sgtl5000 datasheet the MCLK frequency range restriction of 8 to 27 MHz only applies when the PLL is used - synchronous SYS_MCLK input mode. When running the codec as slave, the master should generate MCLK in the range of 256*fs, 384*fs or 512*fs, which is called asynchronous SYS_MCLK input mode. In asynchronous SYS_MCLK we cannot have the 8 to 27 MHz check because if we want to play a 8KHz sample rate track, with a MCLK of 8k * 512 = 4.096MHz the current check would return -EINVAL, which is not correct. Remove the 8 to 27MHz frequency check, since this only applies to the synchronous SYS_MCLK input case. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
0 files changed, 0 insertions, 0 deletions