OMAP: hwmod: Enable module wakeup if in smartidle
authorRajendra Nayak <rnayak@ti.com>
Tue, 21 Sep 2010 14:28:30 +0000 (19:58 +0530)
committerPaul Walmsley <paul@pwsan.com>
Tue, 21 Sep 2010 21:28:30 +0000 (15:28 -0600)
commit9980ce53c97392a3dbdc9d1ac3e455d79b4167ed
treea1d43a68184659dcadf42010e3d292a1e1b9bd94
parent96835af970e5d6aeedf868e53590a947be5e4a7a
OMAP: hwmod: Enable module wakeup if in smartidle

If a module's OCP slave port is programmed to be in smartidle,
its also necessary that they have module level wakeup enabled.
Update _sysc_enable in hwmod framework to do this.

The thread "[PATCH 7/8] : Hwmod api changes" archived here:

http://www.mail-archive.com/linux-omap@vger.kernel.org/msg34212.html

has additional technical information on the rationale of this patch.

Sergei Shtylyov <sshtylyov@mvista.com> identified an indentation
problem with this patch - thanks, Sergei.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Partha Basak <p-basak2@ti.com>
Signed-off-by: BenoƮt Cousson <b-cousson@ti.com>
[paul@pwsan.com: revised patch description]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
arch/arm/mach-omap2/omap_hwmod.c