]> 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)
commita55b64e5d11ed2a0c75a0998befe5b6fc89d3675
tree9cb6938b756aebfdf125dbe7e829bca296014a8b
parentcda1d5780ae091596fa4a45c2f1f9794c8e84e36
spi/pl022: disable port when unused

Commit b9766f5533261fde4e62fe38827eda480e74dc35
"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