]> Pileus Git - ~andy/linux/commit
spi/pl022: disable the PL022 block when unused
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Mon, 17 Oct 2011 12:52:47 +0000 (14:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Dec 2011 16:16:08 +0000 (17:16 +0100)
commit0ad2deeab5d3fc80fc7cd85638f805830254ef1d
treeb413887d19ad0bbf2ae970f4ef55cd5e1679262a
parentd4b6af2e0e29278f2353c7c8721ddf2f2446414f
spi/pl022: disable the PL022 block when unused

Make sure we clear the enable bit when the block is not used.
This will save some energy in certain hardware versions.

Reviewed-by: Viresh Kumar <viresh.kumar@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