ASoC: simplify the SSP DMA parameters settings by run-time generation
authorEric Miao <eric.miao@marvell.com>
Thu, 23 Apr 2009 09:05:38 +0000 (17:05 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Apr 2009 09:19:43 +0000 (10:19 +0100)
The SSP DMA parameters can actually be easily generated at run-time since
they are almost similar except for the FIFO width and direction. Another
benefit is the re-use of information from 'struct ssp_device', like SSDR
physical FIFO address and DRCMR register index for both directions.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: pHilipp Zabel <philipp.zabel@gmail.com>

No differences found