aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-01-17 11:44:49 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:04 -0500
commit4052ce4cbf48531bdd8ff43b673ccb5c005dec79 (patch)
treeb76b594b17fb41ae13e9ffec080f6897eca243bc /sound/soc/fsl
parentf4beee9420773faefd3eac23bb5ba65b0395c1a1 (diff)
[ALSA] mpc8610: Add mmap support
Enable mmap support in the MPC8610 ASoC driver. The driver can use ALSA's default mmap functionality, it was just not enabled previously. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_dma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c
index 2173203b29ab..652514fc8142 100644
--- a/sound/soc/fsl/fsl_dma.c
+++ b/sound/soc/fsl/fsl_dma.c
@@ -136,7 +136,9 @@ struct fsl_dma_private {
136 */ 136 */
137static const struct snd_pcm_hardware fsl_dma_hardware = { 137static const struct snd_pcm_hardware fsl_dma_hardware = {
138 138
139 .info = SNDRV_PCM_INFO_INTERLEAVED, 139 .info = SNDRV_PCM_INFO_INTERLEAVED |
140 SNDRV_PCM_INFO_MMAP |
141 SNDRV_PCM_INFO_MMAP_VALID,
140 .formats = FSLDMA_PCM_FORMATS, 142 .formats = FSLDMA_PCM_FORMATS,
141 .rates = FSLDMA_PCM_RATES, 143 .rates = FSLDMA_PCM_RATES,
142 .rate_min = 5512, 144 .rate_min = 5512,