mirror-linux/drivers/nfc
Dan Carpenter 885bebac99 nfc: pn533: Fix error code in pn533_acr122_poweron_rdr()
Set the error code if "transferred != sizeof(cmd)" instead of
returning success.

Fixes: dbafc28955 ("NFC: pn533: don't send USB data off of the stack")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aTfIJ9tZPmeUF4W1@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-12-11 01:40:00 -08:00
..
fdp
microread nfc: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-20 19:28:31 -07:00
nfcmrvl treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
nxp-nci move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
pn533 nfc: pn533: Fix error code in pn533_acr122_poweron_rdr() 2025-12-11 01:40:00 -08:00
pn544 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
s3fwrn5 nfc: s3fwrn5: Use SHA-1 library instead of crypto_shash 2025-08-18 17:29:08 -07:00
st-nci treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
st21nfca treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
st95hf
Kconfig
Makefile
mei_phy.c
mei_phy.h NFC: mei_phy: fix kernel-doc warnings 2025-11-17 19:32:32 -08:00
nfcsim.c
port100.c
trf7970a.c NFC: trf7970a: Create device-tree parameter for RX gain reduction 2025-06-27 15:08:57 -07:00
virtual_ncidev.c nfc: Correct Samsung "Electronics" spelling in copyright headers 2025-05-21 20:31:18 -07:00