]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:44 +0000 (14:12 +0200)
commitc79e6f5e9ed270cb96490cbf59377cd536ced15f
tree40ae9454dad49def86137c8535504a328407bd23
parentaf8fb45a015f34843c6b018bb88a7b41db0116d6
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