summaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-04-28 12:25:59 +0200
committerTakashi Iwai <tiwai@suse.de>2009-04-28 15:06:44 +0200
commit2008f137e92220b98120c4803499cdddb2b0fb06 (patch)
treec67cc4bf32ae3bed8fad82a7da8c835d3d0f8a0a /sound/soc/au1x
parent27b1833279995e7c290a40cac4ef36ccea7e9283 (diff)
downloadtalos-op-linux-2008f137e92220b98120c4803499cdddb2b0fb06.tar.gz
talos-op-linux-2008f137e92220b98120c4803499cdddb2b0fb06.zip
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/au1x')
-rw-r--r--sound/soc/au1x/dbdma2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c
index 30490a259148..594c6c5b7838 100644
--- a/sound/soc/au1x/dbdma2.c
+++ b/sound/soc/au1x/dbdma2.c
@@ -82,7 +82,7 @@ static struct au1xpsc_audio_dmadata *au1xpsc_audio_pcmdma[2];
/* PCM hardware DMA capabilities - platform specific */
static const struct snd_pcm_hardware au1xpsc_pcm_hardware = {
.info = SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
- SNDRV_PCM_INFO_INTERLEAVED,
+ SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BATCH,
.formats = AU1XPSC_PCM_FMTS,
.period_bytes_min = AU1XPSC_PERIOD_MIN_BYTES,
.period_bytes_max = 4096 * 1024 - 1,
OpenPOWER on IntegriCloud