]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00178612 ESAI:add support for esai call asrc
authorChen Liangjun <b36089@freescale.com>
Wed, 28 Mar 2012 05:36:18 +0000 (13:36 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:23 +0000 (08:34 +0200)
commit8788bb5255c48825ce120f2d46caff808eb46d35
tree6b2a5e14e4efc05d33f82a5a2af05274a6d7b4ad
parentb734f4502930db0dc8674612fa0119e008d6de73
ENGR00178612 ESAI:add support for esai call asrc

ESAI can call ASRC for sample rate convert if the input sample rate
is not support.
1 ESAI will decide whether to use ASRC for sample rate convert in
  imx-cs42888.c. If ASRC is need, the asrc_enable will be set.
2 In imx-pcm-dma-mx2.c, according to the value of asrc_enable, the
  dma driver would decide whether to alloc another p2p dma channel to
  support MEMORY-->ASRC_INPUT-->ASRC_OUTPUT-->ESAI_TX_FIFO route.
3 The code support 2 channel,24/32 bit audio file playback.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
sound/soc/imx/imx-cs42888.c
sound/soc/imx/imx-pcm-dma-mx2.c
sound/soc/imx/imx-pcm.h [new file with mode: 0644]