forked from Minki/linux
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>
This commit is contained in:
parent
da76250e13
commit
7243a4b1eb
@ -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) ==
|
||||
|
Loading…
Reference in New Issue
Block a user