]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFC: nxp-nci: allow GPIOs to sleep
authorIan Ray <ian.ray@gehealthcare.com>
Tue, 17 Mar 2026 08:53:36 +0000 (10:53 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Mar 2026 00:20:51 +0000 (17:20 -0700)
commit55dc632ab2ac2889b15995a9eef56c753d48ebc7
tree4fe42211a8d08e8cf7d1e9f27eecf2196215d057
parent34b11cc56e4369bc08b1f4c4a04222d75ed596ce
NFC: nxp-nci: allow GPIOs to sleep

Allow the firmware and enable GPIOs to sleep.

This fixes a `WARN_ON' and allows the driver to operate GPIOs which are
connected to I2C GPIO expanders.

-- >8 --
kernel: WARNING: CPU: 3 PID: 2636 at drivers/gpio/gpiolib.c:3880 gpiod_set_value+0x88/0x98
-- >8 --

Fixes: 43201767b44c ("NFC: nxp-nci: Convert to use GPIO descriptor")
Cc: stable@vger.kernel.org
Signed-off-by: Ian Ray <ian.ray@gehealthcare.com>
Link: https://patch.msgid.link/20260317085337.146545-1-ian.ray@gehealthcare.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/nxp-nci/i2c.c