ASoC: omap-mcbsp: buffer size constraint only applies to playback stream
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 20 Mar 2012 09:47:36 +0000 (11:47 +0200)
committerLiam Girdwood <lrg@ti.com>
Tue, 22 May 2012 16:33:19 +0000 (17:33 +0100)
commitce37f5ea4b77171952aacd829e8f346b78191a7b
tree22416384fa6bb13354d02d6df9b75f767f32ef51
parent35d210faa17e46897771fcf0d78df7f952b0f9b0
ASoC: omap-mcbsp: buffer size constraint only applies to playback stream

In capture stream the buffer size does not need to be constrained to be
bigger then the McBSP FIFO.
In capture the FIFO content is taken out in period length burst, this
enusres that the FIFO is not going to overflow.

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>
sound/soc/omap/omap-mcbsp.c