]> git.baikalelectronics.ru Git - kernel.git/commit
asoc/multi-component: fsl: add support for variable SSI FIFO depth
authorTimur Tabi <timur@freescale.com>
Fri, 6 Aug 2010 17:16:12 +0000 (12:16 -0500)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 18 Aug 2010 19:28:02 +0000 (20:28 +0100)
commit0a6119646726a321c579f370f50196209df28def
tree55644bd6b4afd5563be83c2873724d1ed2b5f77b
parent27ef995169ae2e59bdc0e1defcf9ec00c926352e
asoc/multi-component: fsl: add support for variable SSI FIFO depth

Add code that programs the DMA and SSI controllers differently based on the
FIFO depth of the SSI.

The SSI devices on the MPC8610 and the P1022 are identical in every way except
one: the transmit and receive FIFO depth.  On the MPC8610, the depth is eight.
On the P1022, it's fifteen.  The device tree nodes for the SSI include a
"fsl,fifo-depth" property that specifies the FIFO depth.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/fsl_ssi.c