OMAP: McBSP: use omap_device APIs to modify SYSCONFIG
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 24 Feb 2011 09:46:53 +0000 (15:16 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Feb 2011 21:03:12 +0000 (13:03 -0800)
commitf36d01d64f1caf0545214a5dc14096477f68cfbe
treebec0a1ca979d162b33b7a20f90280c9ac6a04585
parent64bcbd33c7c70d0aea4e614212a2568321a0396b
OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

McBSP2/3 in OMAP3 has sidetone feature which requires autoidle
to be disabled before starting the sidetone. Also SYSCONFIG
register has to be set with smart idle or no idle depending on the
dma op mode (threshold or element sync). For doing these operations
dynamically at runtime, omap_device APIs are used to modify SYSCONFIG register.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
[tony@atomide.com: updated to compile without omap_device idle calls]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/mcbsp.c