From: Timur Tabi Date: Thu, 17 Jan 2008 16:44:49 +0000 (+0100) Subject: [ALSA] mpc8610: Add mmap support X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4052ce4cbf48531bdd8ff43b673ccb5c005dec79;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- 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 { */ static const struct snd_pcm_hardware fsl_dma_hardware = { - .info = SNDRV_PCM_INFO_INTERLEAVED, + .info = SNDRV_PCM_INFO_INTERLEAVED | + SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID, .formats = FSLDMA_PCM_FORMATS, .rates = FSLDMA_PCM_RATES, .rate_min = 5512,