]> 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)
commitf311ff2969413f19bde41ec9672d5c7dabd05299
tree22416384fa6bb13354d02d6df9b75f767f32ef51
parentafcd2ae9499e1191160b4b77a96f1b326e8f6a88
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