aboutsummaryrefslogtreecommitdiff
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-08-01 14:58:44 -0500
committerTakashi Iwai <tiwai@suse.de>2008-08-04 12:26:23 +0200
commitbf9c8c9ddef7ef761ae9747349175adad0ef16ce (patch)
tree0b69a7dff8c7a0e9cce8f05e64d0e24cba4374db /block/noop-iosched.c
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 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions