diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2017-04-06 05:49:02 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-04-17 00:33:31 +0200 |
commit | 8b55d7581fc5dccc658b9a169879c46dda807d5e (patch) | |
tree | 72b9489752305c2e66ca68a0e34f9f1e654840f7 /lib | |
parent | 49d22c70aaf07cd7e33346b247f5df3ddb072ee0 (diff) | |
download | linux-8b55d7581fc5dccc658b9a169879c46dda807d5e.tar.bz2 |
NFC: pn533: use constant off-stack buffer for sending acks
fix for WARN:
usb 3-2.4.1: NFC: Exchanging data failed (error 0x13)
llcp: nfc_llcp_recv: err -5
llcp: nfc_llcp_symm_timer: SYMM timeout
------------[ cut here ]------------
WARNING: CPU: 1 PID: 26397 at .../drivers/usb/core/hcd.c:1584 usb_hcd_map_urb_for_dma+0x370/0x550
transfer buffer not dma capable
[...]
Workqueue: events nfc_llcp_timeout_work [nfc]
Call Trace:
? dump_stack+0x46/0x5a
? __warn+0xb9/0xe0
? warn_slowpath_fmt+0x5a/0x80
? usb_hcd_map_urb_for_dma+0x370/0x550
? usb_hcd_submit_urb+0x2fb/0xa60
? dequeue_entity+0x3f2/0xc30
? pn533_usb_send_ack+0x5d/0x80 [pn533_usb]
? pn533_usb_abort_cmd+0x13/0x20 [pn533_usb]
? pn533_dep_link_down+0x32/0x70 [pn533]
? nfc_dep_link_down+0x87/0xd0 [nfc]
[...]
usb 3-2.4.1: NFC: Exchanging data failed (error 0x13)
llcp: nfc_llcp_recv: err -5
llcp: nfc_llcp_symm_timer: SYMM timeout
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions