summaryrefslogtreecommitdiff
path: root/drivers/dma/mcf-edma-main.c
diff options
context:
space:
mode:
authorWenhua Lin <Wenhua.Lin@unisoc.com>2023-09-21 15:25:27 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-27 10:12:09 +0300
commit26d9e5640d2130ee16df7b1fb6a908f460ab004c (patch)
treea3c439822aa08b65b78600f438a2fe1e6e1db61e /drivers/dma/mcf-edma-main.c
parent9e8bc2dda5a7a8e2babc9975f4b11c9a6196e490 (diff)
downloadlinux-26d9e5640d2130ee16df7b1fb6a908f460ab004c.tar.xz
gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
The drivers uses a mutex and I2C bus access in its PMIC EIC chip get implementation. This means these functions can sleep and the PMIC EIC chip should set the can_sleep property to true. This will ensure that a warning is printed when trying to get the value from a context that potentially can't sleep. Fixes: 348f3cde84ab ("gpio: Add Spreadtrum PMIC EIC driver support") Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/dma/mcf-edma-main.c')
0 files changed, 0 insertions, 0 deletions