Skip to content

Commit

Permalink
[ALSA] mpc8610: Add mmap support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Timur Tabi authored and Jaroslav Kysela committed Jan 31, 2008
1 parent f4beee9 commit 4052ce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sound/soc/fsl/fsl_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4052ce4

Please sign in to comment.