OMAP3+: SR: enable/disable SR only on need
authorNishanth Menon <nm@ti.com>
Mon, 14 Feb 2011 15:44:17 +0000 (21:14 +0530)
committerKevin Hilman <khilman@ti.com>
Mon, 20 Jun 2011 21:12:31 +0000 (14:12 -0700)
commitac77a6f7a9352d10c4942c24c8fbf61ee54ea196
tree5d8787b8564c3ede939bfdd12fb54fba1ea76a8c
parent1279ba5916f6635610c639186be84afaef831fb3
OMAP3+: SR: enable/disable SR only on need

Since we already know the state of the autocomp enablement, we can
see if the requested state is different from the current state and
enable/disable SR only on the need basis.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c