diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2024-02-06 09:39:12 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-02-06 12:35:44 +0100 |
commit | cc9432c4fb159a3913e0ce3173b8218cd5bad2e0 (patch) | |
tree | a383fdbc3a10637535af0d94f0891e07f32238ac /drivers/pci/controller/dwc/pci-layerscape.c | |
parent | 58aeb5623c2ebdadefe6352b14f8076a7073fea0 (diff) |
mmc: slot-gpio: Allow non-sleeping GPIO ro
This change uses the appropriate _cansleep or non-sleeping API for
reading GPIO read-only state. This allows users with GPIOs that
never sleepbeing called in atomic context.
Implement the same mechanism as in commit 52af318c93e97 ("mmc: Allow
non-sleeping GPIO cd").
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240206083912.2543142-1-alexander.stein@ew.tq-group.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions