aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tlv320aic3x.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2009-02-05 17:56:02 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-02-06 12:08:15 +0000
commit85ef2375ef2ebbb2bf660ad3a27c644d0ebf1b1a (patch)
treebc4b8904b3d74437f03744ecc37bb0a79828b027 /sound/soc/codecs/tlv320aic3x.c
parent8836c273e4d44d088157b7ccbd2c108cefe70565 (diff)
ASoC: optimize init sequence of Freescale MPC8610 sound drivers
In the Freescale MPC8610 sound drivers, relocate all code from the _prepare functions into the corresponding _hw_params functions. These drivers assumed that the sample size is known in the _prepare function and not in the _hw_params function, but this is not true. Move the code in fsl_dma_prepare() into fsl_dma_hw_param(). Create fsl_ssi_hw_params() and move the code from fsl_ssi_prepare() into it. Turn off snooping for DMA operations to/from I/O registers, since that's not necessary. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
0 files changed, 0 insertions, 0 deletions