diff options
author | Johan Hovold <[email protected]> | 2015-01-12 17:12:28 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-01-14 14:26:25 +0100 |
commit | 6798acaa0138d8b12f1c54402ebcb66fea3deb03 (patch) | |
tree | cc57a7a154ac8938a3ff8f359f2edc34c5dd7c52 /tools/perf/util/trace-event-scripting.c | |
parent | 00acc3dc248063f982cfacfbe5e78c0d6797ffef (diff) |
gpio: fix sleep-while-atomic in gpiochip_remove
Move direct and indirect calls to gpiochip_remove_pin_ranges outside of
spin lock as they can end up taking a mutex in pinctrl_remove_gpio_range.
Note that the pin ranges are already added outside of the lock.
Fixes: 9ef0d6f7628b ("gpiolib: call pin removal in chip removal function")
Fixes: f23f1516b675 ("gpiolib: provide provision to register pin ranges")
Cc: stable <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions