diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-07-11 13:06:26 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-07-22 15:30:42 +0200 |
commit | fcce9f14f07db15650d84650293e2207f7dabbfa (patch) | |
tree | 362bbc0495f56ba9604dd93dc0d016eeb7515119 /tools/perf/scripts/python | |
parent | ccf6fd6dcc86143002dec6c392d8aa41a6a46353 (diff) |
gpio: merrifield: Protect irq_ack() and gpio_set() by lock
There is a potential race when two threads do the writes to the same register
in parallel.
Prevent out of order in such case by protecting I/O access by spin lock.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions