summaryrefslogtreecommitdiff
path: root/drivers/scsi/gdth_ioctl.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 10:00:00 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2020-09-24 13:20:47 +0300
commit6aaad58c872db062f7ea2761421ca748bd0931cc (patch)
tree5cd05a40f25968d5d0e07b8999a671ad141c9db8 /drivers/scsi/gdth_ioctl.h
parente6b02afce100e97292c0eb0cd1ccfa71d0453e48 (diff)
downloadlinux-6aaad58c872db062f7ea2761421ca748bd0931cc.tar.xz
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: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/scsi/gdth_ioctl.h')
0 files changed, 0 insertions, 0 deletions