summaryrefslogtreecommitdiffstats
path: root/sound/parisc/harmony.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-08-01 21:58:44 +0200
committerTakashi Iwai <tiwai@suse.de>2008-08-04 12:26:23 +0200
commitbf9c8c9ddef7ef761ae9747349175adad0ef16ce (patch)
tree0b69a7dff8c7a0e9cce8f05e64d0e24cba4374db /sound/parisc/harmony.c
parentALSA: ASoC: Export dapm_reg_event() fully (diff)
downloadlinux-bf9c8c9ddef7ef761ae9747349175adad0ef16ce.tar.xz
linux-bf9c8c9ddef7ef761ae9747349175adad0ef16ce.zip
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/parisc/harmony.c')
0 files changed, 0 insertions, 0 deletions