ARM: OMAP3: McBSP: do not access CM register directly
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Oct 2013 16:15:33 +0000 (19:15 +0300)
committerPaul Walmsley <paul@pwsan.com>
Sat, 19 Oct 2013 16:11:51 +0000 (10:11 -0600)
commit7a90da2ad3fdd44a6230c0e2c0a374a5cda1711c
treec5c2282afb95953a786973aaf615931bf774ed65
parent818b40e500b2afadeabfd7ca369800c350989143
ARM: OMAP3: McBSP: do not access CM register directly

McBSP driver require special hacks to enable/disable the autoidle feature
for its interface clock for the proper function of the sidetone hardware.
Currently the driver just writes CM registers directly, which should be
avoided. Thus, changed the driver to use the new deny/allow_autoidle
clock API calls.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/mcbsp.c