commit | d4b6af2e0e29278f2353c7c8721ddf2f2446414f | [log] [tgz] |
---|---|---|
author | Chris Blair <chris.blair@stericsson.com> | Fri Nov 04 07:43:41 2011 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Dec 01 17:16:08 2011 +0100 |
tree | 4b900739272b0072c0a9057760de0a928c6c8962 | |
parent | 4ca9fb46d8045b2473d608cd9e4580c6e0f7d5e0 [diff] |
spi/pl022: move device disable to workqueue thread Moves the disabling of the device and clocks to the same thread in which the device and clocks are enabled. This avoids SMP issues where the device can be enabled for a transfer by one thread and then disabled by the completion of the previous transfer in another thread. Reviewed-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Chris Blair <chris.blair@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>