Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information