ASoC/mpc5200: add to_psc_dma_stream() helper
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 7 Nov 2009 08:34:31 +0000 (01:34 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 7 Nov 2009 12:40:09 +0000 (12:40 +0000)
commit1d8222e8df07ce4f86fb7fa80b02bdee03b57985
tree5a82aa6b88862e0c08aa001876a5f4a1615388da
parentc4878274750ae0bb90c351a737ac6cdcb608e546
ASoC/mpc5200: add to_psc_dma_stream() helper

Move the resolving of the psc_dma_stream pointer to a helper function
to reduce duplicate code

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/mpc5200_dma.c
sound/soc/fsl/mpc5200_dma.h