aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2020-08-17 09:00:00 +0200
committerChanwoo Choi <[email protected]>2020-09-24 19:20:47 +0900
commit6aaad58c872db062f7ea2761421ca748bd0931cc (patch)
tree5cd05a40f25968d5d0e07b8999a671ad141c9db8 /scripts/gdb
parente6b02afce100e97292c0eb0cd1ccfa71d0453e48 (diff)
extcon: ptn5150: Fix usage of atomic GPIO with sleeping GPIO chips
The driver uses atomic version of gpiod_set_value() without any real reason. It is called in a workqueue under mutex so it could sleep there. Changing it to "can_sleep" flavor allows to use the driver with all GPIO chips. Fixes: 4ed754de2d66 ("extcon: Add support for ptn5150 extcon driver") Cc: <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Vijai Kumar K <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions