summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-12-15 11:32:27 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-17 09:31:28 +0000
commit7243a4b1eb377b3c5376cbf0ebdf87972b969127 (patch)
treed44cf33723ee850a862af0b2b08131cc9126cb50 /sound/soc/omap
parentda76250e13256ec58f1b92256d847a7a8ebd9ce8 (diff)
downloadop-kernel-dev-7243a4b1eb377b3c5376cbf0ebdf87972b969127.zip
op-kernel-dev-7243a4b1eb377b3c5376cbf0ebdf87972b969127.tar.gz
ASoC: omap-mcbsp: Enable FIFO usage on OMAP4
Allow McBSP FIFO configuration from ASoC dai driver on OMAP4 platform. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/omap-mcbsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index bd11d25..0173719 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -258,7 +258,7 @@ static int omap_mcbsp_dai_hw_params(struct snd_pcm_substream *substream,
default:
return -EINVAL;
}
- if (cpu_is_omap34xx()) {
+ if (cpu_is_omap34xx() || cpu_is_omap44xx()) {
dma_data->set_threshold = omap_mcbsp_set_threshold;
/* TODO: Currently, MODE_ELEMENT == MODE_FRAME */
if (omap_mcbsp_get_dma_op_mode(bus_id) ==
OpenPOWER on IntegriCloud