diff options
| author | Axel Lin <axel.lin@gmail.com> | 2012-07-29 06:54:42 +0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-17 09:35:42 +0400 |
| commit | 02a6794d57ce54b96b13db80831f35d66e0caf31 (patch) | |
| tree | a395f2a69060931c3d6e3c4c43a38f5c45baa431 /tools/perf/scripts/python/sched-migration.py | |
| parent | f9c4a31f61501d25f0a45faae6a5cd701ad5694a (diff) | |
| download | linux-02a6794d57ce54b96b13db80831f35d66e0caf31.tar.xz | |
gpio: gpio-ml-ioh: Use spinlock for register access protection
gpio_chip.can_sleep is 0, but current code uses mutex in ioh_gpio_set,
ioh_gpio_get and ioh_gpio_direction_input functions.
Thus those functions are not callable from interrupt context.
This patch converts mutex into spinlock.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
