diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-02-26 00:44:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-07 06:41:20 +0300 |
commit | b18537cd8ec2e5280ba19d24ea8812b80e5b3208 (patch) | |
tree | 4e0384f11a062ee3ecb1141501d543b284a4ff2f /drivers/pinctrl/pinctrl-adi2.h | |
parent | 5e9a207547079a23c3d4ecb4bad050ba8acc3f59 (diff) | |
download | linux-b18537cd8ec2e5280ba19d24ea8812b80e5b3208.tar.xz |
pinctrl: core: create nolock version of pinctrl_find_gpio_range_from_pin
pinctrl_find_gpio_range_from_pin takes the pctldev->mutex but so
does pinconf_pins_show and this will cause a deadlock if
pinctrl_find_gpio_range_from_pin is used in .pin_config_get
callback.
Create a nolock version of pinctrl_find_gpio_range_from_pin to
allow pin to gpio lookup to be used from pinconf_pins_show.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-adi2.h')
0 files changed, 0 insertions, 0 deletions