summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2009-11-18 17:49:51 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-19 10:47:38 +0000
commit0d6c97742993a00ee2cbfbd6d68fba669c17bf50 (patch)
treed38c47f3d5fe212dbc3099a08e0e3f3b6717f442 /arch/arm/mach-davinci/include
parent41b51dd47ea7c406a8d49b97804e8acec9dadaed (diff)
downloadkernel-crypto-0d6c97742993a00ee2cbfbd6d68fba669c17bf50.tar.gz
kernel-crypto-0d6c97742993a00ee2cbfbd6d68fba669c17bf50.tar.xz
kernel-crypto-0d6c97742993a00ee2cbfbd6d68fba669c17bf50.zip
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/arm/mach-davinci/include')
-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 18e4ce34ece..019c6473341 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;