summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-mcbsp.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-03-15 11:29:49 +0100
committerLiam Girdwood <lrg@ti.com>2012-05-22 18:33:19 +0200
commit09fa37ac8f8be7cf57f24cfd5291c591b79957f1 (patch)
treef63d86aeb6953ce50fcdab885b49f0f1f8181aae /sound/soc/omap/omap-mcbsp.c
parentASoC: omap-mcbsp: Use DMA packet mode for non mono streams on OMAP3+ (diff)
downloadlinux-09fa37ac8f8be7cf57f24cfd5291c591b79957f1.tar.xz
linux-09fa37ac8f8be7cf57f24cfd5291c591b79957f1.zip
ASoC: omap-mcbsp: Remove unused FRAME dma_op_mode
The frame dma_op_mode has never been used, and it is just creating confusion for users/developers. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/omap-mcbsp.c')
-rw-r--r--sound/soc/omap/omap-mcbsp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 418dc3cebdec..27144a67e5ec 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -245,7 +245,6 @@ static int omap_mcbsp_dai_hw_params(struct snd_pcm_substream *substream,
}
if (mcbsp->pdata->buffer_size) {
dma_data->set_threshold = omap_mcbsp_set_threshold;
- /* TODO: Currently, MODE_ELEMENT == MODE_FRAME */
if (mcbsp->dma_op_mode == MCBSP_DMA_MODE_THRESHOLD) {
int period_words, max_thrsh;