diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-08 11:27:46 +0200 |
|---|---|---|
| committer | Christophe Leroy (CS GROUP) <chleroy@kernel.org> | 2026-09-10 16:04:40 +0200 |
| commit | 31d42d67c6eb66efc058069f426d69abb48ec0dd (patch) | |
| tree | 55122b19b441a9d0778e8b18bdd180d4bd1fae9d /include/memory | |
| parent | 7e9023a18eec88b716d8d46a29c4207186fbd828 (diff) | |
| download | linux-next-31d42d67c6eb66efc058069f426d69abb48ec0dd.tar.gz linux-next-31d42d67c6eb66efc058069f426d69abb48ec0dd.zip | |
soc: fsl: qe: drop GPIOD_FLAGS_BIT_NONEXCLUSIVE
The GPIOD_FLAGS_BIT_NONEXCLUSIVE flag for gpiod_get() is deprecated. For
actually shared GPIOs, it should be replaced by using the functionality
provided by gpio-shared-proxy. The Freescale QUICC Engine GPIO driver
uses it as a workaround to access the GPIO descriptor already requested
by the caller of qe_pin_request() in order to access the private GPIO
chip data.
As the existing comment itself states, the user already requested this
GPIO and the only user in tree is the FHCI USB driver which does in fact
request it, we can safely modify the function to take the *exclusive*
GPIO descriptor as argument and stop using the deprecated flag.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20260908-usb-fhci-drop-gpio-nonexclusive-v1-1-8e405dc67874@oss.qualcomm.com
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions
