diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2013-02-09 13:41:49 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-12 02:21:28 +0400 |
commit | 362432aed5e5b497a8cf7b20c268ba71df93c045 (patch) | |
tree | 4a87f9533b3310c0bbd2a87477bf52bb0286cf41 /drivers/hwmon/wm831x-hwmon.c | |
parent | 6c0b4e6c85d085bd92966bc2b8da73e2d7f35929 (diff) | |
download | linux-362432aed5e5b497a8cf7b20c268ba71df93c045.tar.xz |
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 'drivers/hwmon/wm831x-hwmon.c')
0 files changed, 0 insertions, 0 deletions