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)
commit8e9d869028f3ce13631af5ef41910ad8d8e6c246
tree55644bd6b4afd5563be83c2873724d1ed2b5f77b
parent2bda3527e4ccb0ddff28f0de11c5cf2484eb99d0
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