1
0
Fork 0
remarkable-linux/drivers/nfc/pn533
Hans de Goede d341ce9a63 NFC: pn533: Fix wrong GFP flag usage
[ Upstream commit ecc443c03f ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:09:06 +02:00
..
Kconfig
Makefile
i2c.c NFC: pn533: use constant off-stack buffer for sending acks 2017-04-17 00:33:31 +02:00
pn533.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04: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-08-24 13:09:06 +02:00