]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd11e2fe34a93d97acd9b9d20fcb08532d2bd708
tree22416384fa6bb13354d02d6df9b75f767f32ef51
parent0b6bca2b013290ac7d0bfe4d591040179567dbaa
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