2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/nfc/pn533
Hans de Goede ecc443c03f NFC: pn533: Fix wrong GFP flag usage
pn533_recv_response() is an urb completion handler, so it must use
GFP_ATOMIC. pn533_usb_send_frame() OTOH runs from a regular sleeping
context, so the pn533_submit_urb_for_response() there (and only there)
can use the regular GFP_KERNEL flags.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1514134
Fixes: 9815c7cf22 ("NFC: pn533: Separate physical layer from ...")
Cc: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-25 21:36:45 +08:00
..
i2c.c nfc: pn533: constify i2c_device_id 2017-11-06 00:56:55 +01:00
Kconfig
Makefile
pn533.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
pn533.h NFC: pn533: change order operations in dev registation 2017-04-02 01:06:23 +02:00
usb.c NFC: pn533: Fix wrong GFP flag usage 2018-06-25 21:36:45 +08:00