diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2009-11-18 19:49:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-11-19 05:47:38 -0500 |
commit | 0d6c97742993a00ee2cbfbd6d68fba669c17bf50 (patch) | |
tree | d38c47f3d5fe212dbc3099a08e0e3f3b6717f442 /arch | |
parent | 41b51dd47ea7c406a8d49b97804e8acec9dadaed (diff) |
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.h | 6 |
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 { | |||
51 | u32 rx_dma_offset; | 51 | u32 rx_dma_offset; |
52 | enum dma_event_q eventq_no; /* event queue number */ | 52 | enum dma_event_q eventq_no; /* event queue number */ |
53 | unsigned int codec_fmt; | 53 | unsigned int codec_fmt; |
54 | /* | ||
55 | * Allowing this is more efficient and eliminates left and right swaps | ||
56 | * caused by underruns, but will swap the left and right channels | ||
57 | * when compared to previous behavior. | ||
58 | */ | ||
59 | unsigned enable_channel_combine:1; | ||
54 | 60 | ||
55 | /* McASP specific fields */ | 61 | /* McASP specific fields */ |
56 | int tdm_slots; | 62 | int tdm_slots; |