]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pl022: disable port when unused
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Tue, 12 Jun 2012 13:10:58 +0000 (15:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jul 2012 11:55:36 +0000 (13:55 +0200)
commit3905b0ba625b7d8fa0ae809211ed487d331de7fb
tree9cb6938b756aebfdf125dbe7e829bca296014a8b
parent3b15e0f7495f5dcfda3ad9d09b0aa6894191804f
spi/pl022: disable port when unused

Commit 1273a43fb48ac5996bda6dc1c1412ff3f87aff5b
"spi: create a message queueing infrastructure"
Accidentally deleted the logic to disable the port
when unused leading to higher power consumption.
Fix this up.

Cc: stable@kernel.org
Cc: Vinit Shenoy <vinit.shenoy@st.com>
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c