spi/pl022: disable core voltage when idle
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 8 Feb 2011 12:03:32 +0000 (13:03 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 15 Feb 2011 22:09:02 +0000 (15:09 -0700)
commit808f1037ab3fbf75d25026ad8e175c57927cdb3a
treef92cc4e1f9b41e75f41df1caa4f43bd874a426c9
parentecd442fd9e388a31d382a62fb43e851048c282e1
spi/pl022: disable core voltage when idle

This utilizes the new core voltage switch to power off the PL022
core voltage when it's not in use transmitting packets, if and
only if a core voltage switch is available.

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c