]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00219926-1 ESAI ASRC: use ideal ratio for ASRC P2P playback
authorChen Liangjun <b36089@freescale.com>
Thu, 16 Aug 2012 11:20:51 +0000 (19:20 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:15 +0000 (08:35 +0200)
commitb3c389ba9427e457ac924f9aa3d643ca7441e19b
tree40ae9454dad49def86137c8535504a328407bd23
parent99689f5605e4ca65823fad1e4a47e189b74afdb2
ENGR00219926-1 ESAI ASRC: use ideal ratio for ASRC P2P playback

When use no ideal-ratio mode for ESAI playback, CPU should provide
accurate clock for input clock, which means input clock should be
divided by input sample rate. However, all our clock is from 24M crystal
and if the input sample rate equal to 44.1k or so, CPU can't provide
these clock.

In this patch, use ideal ratio mode thus CPU need not provide accurate
clock which can be divided by 44.1k.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
drivers/mxc/asrc/mxc_asrc.c
sound/soc/imx/imx-cs42888.c