aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-08-01 15:58:44 -0400
committerTakashi Iwai <tiwai@suse.de>2008-08-04 06:26:23 -0400
commitbf9c8c9ddef7ef761ae9747349175adad0ef16ce (patch)
tree0b69a7dff8c7a0e9cce8f05e64d0e24cba4374db /sound/drivers
parent11589418a1c4cf68be9367f802898d35e07809c4 (diff)
ALSA: ASoC: fix SNDCTL_DSP_SYNC support in Freescale 8610 sound drivers
If an OSS application calls SNDCTL_DSP_SYNC, then ALSA will call the driver's _hw_params and _prepare functions again. On the Freescale MPC8610 DMA ASoC driver, this caused the DMA controller to be unneccessarily re-programmed, and apparently it doesn't like that. The DMA will then not operate when instructed. This patch relocates much of the DMA programming to fsl_dma_open(), which is called only once. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions