kernel_optimize_test/drivers/nfc
Greg Kroah-Hartman dbafc28955 NFC: pn533: don't send USB data off of the stack
It's amazing that this driver ever worked, but now that x86 doesn't
allow USB data to be sent off of the stack, it really does not work at
all.  Fix this up by properly allocating the data for the small
"commands" that get sent to the device off of the stack.

We do this for one command by having a whole urb just for ack messages,
as they can be submitted in interrupt context, so we can not use
usb_bulk_msg().  But the poweron command can sleep (and does), so use
usb_bulk_msg() for that transfer.

Reported-by: Carlos Manuel Santos <cmmpsantos@gmail.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-31 12:43:14 +02:00
..
fdp NFC: fdp: make struct nci_ops static 2017-11-06 01:05:50 +01:00
microread nfc: microread: constify i2c_device_id 2017-11-06 00:56:55 +01:00
nfcmrvl treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
nxp-nci nfc: nxp-nci: constify i2c_device_id 2017-11-06 00:56:55 +01:00
pn533 NFC: pn533: don't send USB data off of the stack 2018-05-31 12:43:14 +02:00
pn544 nfc: pn544: constify i2c_device_id 2017-11-06 00:56:55 +01:00
s3fwrn5 nfc: s3fwrn5: make array match static const 2017-11-06 01:05:06 +01:00
st-nci treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
st21nfca treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
st95hf
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mei_phy.c
mei_phy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nfcsim.c
port100.c
trf7970a.c