[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>
This commit is contained in:
parent
f4beee9420
commit
4052ce4cbf
|
@ -136,7 +136,9 @@ struct fsl_dma_private {
|
||||||
*/
|
*/
|
||||||
static const struct snd_pcm_hardware fsl_dma_hardware = {
|
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,
|
.formats = FSLDMA_PCM_FORMATS,
|
||||||
.rates = FSLDMA_PCM_RATES,
|
.rates = FSLDMA_PCM_RATES,
|
||||||
.rate_min = 5512,
|
.rate_min = 5512,
|
||||||
|
|
Loading…
Reference in a new issue