]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite40f88f82452377d5c5247dda8f9c2900f179dd0
tree5d8787b8564c3ede939bfdd12fb54fba1ea76a8c
parente7c6a9634e25ed25c0042a0ea153d955dea5ce5e
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