From: Timur Tabi Date: Thu, 5 Feb 2009 23:56:02 +0000 (-0600) Subject: ASoC: optimize init sequence of Freescale MPC8610 sound drivers X-Git-Tag: v2.6.30-rc1~8^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ef2375ef2ebbb2bf660ad3a27c644d0ebf1b1a;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed