ASoC: dwc: Reorder code in preparation for DT support
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 19 Dec 2014 16:18:07 +0000 (16:18 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2014 13:59:53 +0000 (13:59 +0000)
commitafa8603c6253204bf96c88739f711e89c2b00cd5
treec84d22c4ae1be75a19b362e263f38a99fdfc0aeb
parentbe33465e58ab3a3300c5182844d45c67e73b15e0
ASoC: dwc: Reorder code in preparation for DT support

Move code that configures the DAI and DMA into a separate function.  This
reduces the size of the dw_i2s_probe function and will make it easier to
add support for device tree to the driver.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/designware_i2s.c