summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorWenhua Lin <Wenhua.Lin@unisoc.com>2023-09-21 20:25:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-10 21:46:39 +0200
commit6db9cdfdc3c558e50c7ca8a992396585843bf962 (patch)
tree41d91d0fe64fd1727a8bb096f2b22dbc113f3099 /arch/parisc
parent4a62d23eba66647cda052f2e224774fc79763286 (diff)
gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
[ Upstream commit 26d9e5640d2130ee16df7b1fb6a908f460ab004c ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions