ASoC: omap-mcbsp: Enable FIFO usage on OMAP4
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Dec 2011 09:32:27 +0000 (11:32 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 17 Dec 2011 09:31:28 +0000 (09:31 +0000)
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>
sound/soc/omap/omap-mcbsp.c

index bd11d25685847a0e597cfd30db4a75d35d444ced..017371913ec3cf0629acbdc549d8bbe99d5f7ea7 100644 (file)
@@ -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) ==