diff options
| author | 2020-07-08 12:15:51 +0800 | |
|---|---|---|
| committer | 2020-07-12 10:22:00 +0200 | |
| commit | 6accc376a7482ecec2537e3e092b4f06e11d5994 (patch) | |
| tree | 79b125819b7fcff9c4cf3372e98bfddb83dbce48 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | gpiolib: cdev: remove pointless decrement of i (diff) | |
gpiolib: cdev: use blocking notifier call chain instead of atomic
Replace usage of atomic_notifier_call_chain with
blocking_notifier_call_chain as the notifier function,
lineinfo_changed_notify, calls gpio_desc_to_lineinfo,
which calls pinctrl_gpio_can_use_line, which can sleep.
The chain isn't being called from an atomic context so the
the blocking notifier is a suitable substitute.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
