diff options
author | 2013-02-09 09:41:49 +0000 | |
---|---|---|
committer | 2013-02-11 22:21:28 +0000 | |
commit | 362432aed5e5b497a8cf7b20c268ba71df93c045 (patch) | |
tree | 4a87f9533b3310c0bbd2a87477bf52bb0286cf41 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: let gpio_chip reference its descriptors (diff) | |
download | linux-dev-362432aed5e5b497a8cf7b20c268ba71df93c045.tar.xz linux-dev-362432aed5e5b497a8cf7b20c268ba71df93c045.zip |
gpiolib: Fix locking on gpio debugfs files
The debugfs files really need to hold the gpiolib spinlock before
accessing the list. Otherwise chip addition/removal will cause an oops.
Cc: Alexandre Courbot <acourbot@nvidia.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions