]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit947b61b52d97ce65477540502075b84e59faa5c1
treebec0a1ca979d162b33b7a20f90280c9ac6a04585
parent9af40dacaae4cf9daabd5af091a59996f7d3d90e
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