]> git.karo-electronics.de Git - linux-beck.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)
commitfd316941cfee1fbd12746afea83720fb7823888a
tree9cb6938b756aebfdf125dbe7e829bca296014a8b
parent6887a4131da3adaab011613776d865f4bcfb5678
spi/pl022: disable port when unused

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