summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2009-11-19 03:49:51 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-19 13:47:38 +0300
commit0d6c97742993a00ee2cbfbd6d68fba669c17bf50 (patch)
treed38c47f3d5fe212dbc3099a08e0e3f3b6717f442 /arch
parent41b51dd47ea7c406a8d49b97804e8acec9dadaed (diff)
downloadlinux-0d6c97742993a00ee2cbfbd6d68fba669c17bf50.tar.xz
ASoC: DaVinci: i2s, reduce underruns by combining into 1 element
Allow the left and right 16 bit samples to be shifted out as 1 32 bit sample. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/include/mach/asp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/asp.h b/arch/arm/mach-davinci/include/mach/asp.h
index 18e4ce34ece6..019c64733417 100644
--- a/arch/arm/mach-davinci/include/mach/asp.h
+++ b/arch/arm/mach-davinci/include/mach/asp.h
@@ -51,6 +51,12 @@ struct snd_platform_data {
u32 rx_dma_offset;
enum dma_event_q eventq_no; /* event queue number */
unsigned int codec_fmt;
+ /*
+ * Allowing this is more efficient and eliminates left and right swaps
+ * caused by underruns, but will swap the left and right channels
+ * when compared to previous behavior.
+ */
+ unsigned enable_channel_combine:1;
/* McASP specific fields */
int tdm_slots;