aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_asrc.c
Commit message (Collapse)AuthorAge
* ENGR00313535-2 ASoC: fsl: Register two kcontrol for asrc p2pShengjiu Wang2014-05-15
| | | | | | | Register p2p width amd p2p rate tow kcontrol for asrc p2p, use can get/change these parameter with amixer. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00309566 ASoC: fsl: fix maxburst is not accurateShengjiu Wang2014-04-21
| | | | | | | The src_maxburst and dst_maxburst means the watermark level for p2p, no need to be scaled. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00309073-3 ASoC: fsl: Support recording with asrc p2pShengjiu Wang2014-04-17
| | | | | | update asrc p2p to support recording, which use ideal ratio mode. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00309073-2 ASoC: fsl: Add new p2p struct for code ligibilityShengjiu Wang2014-04-17
| | | | | | improve code ligibility. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00309073-1 ASoC: fsl: Naming of p2p item is not properShengjiu Wang2014-04-17
| | | | | | Change the output-rate, output-width to p2p-rate, p2p-width. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00307835-4 ASoC: fsl: implement ASRC P2P xrun handlerShengjiu Wang2014-04-16
| | | | | | | When ASRC P2P is working, it will check the xrun status of cpu dai in the back end bistream. then will do Whole route stop and restart. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
* ENGR00307592 ASoC: fsl_asrc: Add delay after enabling ASRC p2pNicolin Chen2014-04-16
| | | | | | | | | | | When using ASRC p2p as a for-end with other back-end modules like ESAI, it'd be safer to add 1ms delay, less might be futile for extreme cases, after enabling ASRC so as to keep ASRC output FIFO with enough data to content the DMA burstsize of back-ends and accordingly prevent underrun that might happen to them. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
* ENGR00283079-1 ASoC: fsl: Implement different DMA buffer sizesNicolin Chen2014-04-16
| | | | | | | | | Each CPU DAI driver has its own defined DMA buffer size, so this patch just drops the original one that uses a fixed size for all drivers and implements a different DMA buffer size to each driver. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
* ENGR00281859-3 ASoC: fsl: Prepare dmaengine before submit itNicolin Chen2014-04-16
| | | | | | | | | | | | | | | | ASRC and HDMI audio might meet unexpected stop, 'ctrl+z' for example, and then disable its sdma channel. But after 'fg' resume, because sdma channel's status has already been set into DMA_ERROR, we need to prepare dmaengine again to clear its error state, otherwise sdma driver would bypass its channel enabling and 'Input/Output error' would happen to ALSA lib. The combined prepare and submit are also being used in soc-dmaengine, the common ASoC dmaengine driver. And since we already use a proper way to handle sdma channel status, there's no need to make an exception for HDMI any more, so drop it. Signed-off-by: Nicolin Chen <b42378@freescale.com>
* ENGR00280852 ASoC: fsl: Use generic function dmaengine_prep_dma_cyclic()Nicolin Chen2014-04-16
| | | | | | Use generic dmaengine_prep_dma_cyclic() in imx-hdmi-dma.c and fsl-asrc.c Signed-off-by: Nicolin Chen <b42378@freescale.com>
* ENGR00274585-3 ASoC: fsl: add asrc p2p driver.Shengjiu Wang2014-04-16
add asrc p2p driver. add bindings document of asrc p2p. Signed-off-by: Shengjiu Wang <b02247@freescale.com>