android_kernel_sony_sdm845/drivers/nfc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Krzysztof Kozlowski 5b865845e1 nfc: s3fwrn5: use signed integer for parsing GPIO numbers
[ Upstream commit d8f0a86795c69f5b697f7d9e5274c124da93c92d ]

GPIOs - as returned by of_get_named_gpio() and used by the gpiolib - are
signed integers, where negative number indicates error.  The return
value of of_get_named_gpio() should not be assigned to an unsigned int
because in case of !CONFIG_GPIOLIB such number would be a valid GPIO.

Fixes: c04c674fad ("nfc: s3fwrn5: Add driver for Samsung S3FWRN5 NFC Chip")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201123162351.209100-1-krzk@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-02 08:31:27 +01:00
..
fdp NFC: fdp: Fix a signedness bug in fdp_nci_send_patch() 2020-04-02 17:20:30 +02:00
microread NFC: microread: Drop platform data header file 2016-03-09 23:25:45 +01:00
nfcmrvl NFC: nfcmrvl_uart: fix OF child-node lookup 2018-12-01 09:44:21 +01:00
nxp-nci NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 2019-12-21 10:40:48 +01:00
pn533 NFC: pn533: Fix wrong GFP flag usage 2018-08-24 13:12:32 +02:00
pn544 nfc: pn544: Fix occasional HW initialization failure 2020-03-11 07:53:05 +01:00
s3fwrn5 nfc: s3fwrn5: use signed integer for parsing GPIO numbers 2020-12-02 08:31:27 +01:00
st-nci st_nci_hci_connectivity_event_received: null check the allocation 2019-09-06 10:19:32 +02:00
st21nfca NFC: st21nfca: add missed kfree_skb() in an error path 2020-06-11 09:22:21 +02:00
st95hf NFC: st95hf: Fix memleak in st95hf_in_send_cmd 2020-09-23 08:46:09 +02:00
Kconfig NFC: nfcsim: Fix missing dependency on NFC_DIGITAL 2016-07-06 10:02:09 +02:00
Makefile NFC: pn533: Separate physical layer from the core implementation 2016-04-09 23:53:15 +02:00
mei_phy.c mei: bus: fix received data size check in NFC fixup 2016-10-31 10:25:22 -06:00
mei_phy.h mei: bus: complete variable rename of type struct mei_cl_device 2015-09-20 19:31:09 -07:00
nfcsim.c NFC: nfcsim: Simulate lost frames through debugfs entry 2016-07-19 23:24:49 +02:00
nfcwilink.c drivers: misc: ti-st: Use int instead of fuzzy char for callback status 2016-07-17 19:59:26 +02:00
port100.c NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu(). 2020-02-28 15:42:24 +01:00
trf7970a.c NFC: trf7970a: add TI recommended write of zero to Register 0x18 2016-07-04 12:20:21 +02:00