summaryrefslogtreecommitdiff
path: root/sound/soc/sh/dma-sh7760.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-04-28 14:25:59 +0400
committerTakashi Iwai <tiwai@suse.de>2009-04-28 17:06:44 +0400
commit2008f137e92220b98120c4803499cdddb2b0fb06 (patch)
treec67cc4bf32ae3bed8fad82a7da8c835d3d0f8a0a /sound/soc/sh/dma-sh7760.c
parent27b1833279995e7c290a40cac4ef36ccea7e9283 (diff)
downloadlinux-2008f137e92220b98120c4803499cdddb2b0fb06.tar.xz
ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers
Added SNDRV_PCM_INFO_BATCH flag to PCM info field of some drivers that really don't give the precise pointer value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/sh/dma-sh7760.c')
-rw-r--r--sound/soc/sh/dma-sh7760.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c
index 0dad3a0bb920..baddb1242c71 100644
--- a/sound/soc/sh/dma-sh7760.c
+++ b/sound/soc/sh/dma-sh7760.c
@@ -103,7 +103,8 @@ static struct snd_pcm_hardware camelot_pcm_hardware = {
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |
- SNDRV_PCM_INFO_MMAP_VALID),
+ SNDRV_PCM_INFO_MMAP_VALID |
+ SNDRV_PCM_INFO_BATCH),
.formats = DMABRG_FMTS,
.rates = DMABRG_RATES,
.rate_min = 8000,