diff options
author | Doug Anderson <dianders@chromium.org> | 2014-04-30 19:44:05 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 09:11:46 +0200 |
commit | 362196e5d0832ce3c4e1df376c02cff812a2391b (patch) | |
tree | 3ef8f401d423fe0011e1bdfe573fea914feded82 /net/wimax | |
parent | mfd: cros_ec: spi: Calculate delay between transfers correctly (diff) | |
download | linux-362196e5d0832ce3c4e1df376c02cff812a2391b.tar.xz linux-362196e5d0832ce3c4e1df376c02cff812a2391b.zip |
mfd: cros_ec: spi: Add mutex to cros_ec_spi
The main transfer function for cros_ec_spi can be called by more than
one client at a time. Make sure that those clients don't stomp on
each other by locking the bus for the duration of the transfer
function.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'net/wimax')
0 files changed, 0 insertions, 0 deletions