ASoC: omap-mcbsp: Remove period size constraint in THRESHOLD mode
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 29 Jul 2010 06:51:28 +0000 (09:51 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 2 Aug 2010 09:38:16 +0000 (10:38 +0100)
commit998a8a69f3a40f9c82e83730bfdaceb63954d753
tree07b02d547ef8e70e93ae25f4d7b9ae1eb03a1405
parentcf80e15860852be5ce38714979db94ec36c5e288
ASoC: omap-mcbsp: Remove period size constraint in THRESHOLD mode

The use of sDMA packet mode in THRESHOLD mode removes the restriction on the
period size.
With the extended THRESHOLD mode user space can ask for any
period size it wishes, and the driver will configure the
sDMA and McBSP FIFO accordingly.

Replace the hw_rule for the period size with static constraint,
which will make sure that the period size will be always
even (to avoid prime period size, which could be possible in
mono stream)

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/omap-mcbsp.c