diff options
author | Chris Blair <chris.blair@stericsson.com> | 2011-11-04 07:43:41 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-12-01 17:16:08 +0100 |
commit | d4b6af2e0e29278f2353c7c8721ddf2f2446414f (patch) | |
tree | 4b900739272b0072c0a9057760de0a928c6c8962 /samples/hw_breakpoint | |
parent | 4ca9fb46d8045b2473d608cd9e4580c6e0f7d5e0 (diff) | |
download | op-kernel-dev-d4b6af2e0e29278f2353c7c8721ddf2f2446414f.zip op-kernel-dev-d4b6af2e0e29278f2353c7c8721ddf2f2446414f.tar.gz |
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>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions