projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3a450
)
NFC: Reset poll mod list when stopping pn533 poll
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 21 May 2012 14:20:01 +0000
(16:20 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 4 Jun 2012 19:34:31 +0000
(21:34 +0200)
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/pn533.c
b/drivers/nfc/pn533.c
index db4078765ac9ad5504f87208382af100c0edeb0d..6b8a65ca0d716dc4d6250cb9998000a3496ba361 100644
(file)
--- a/
drivers/nfc/pn533.c
+++ b/
drivers/nfc/pn533.c
@@
-1371,6
+1371,8
@@
static void pn533_stop_poll(struct nfc_dev *nfc_dev)
/* prevent pn533_start_poll_complete to issue a new poll meanwhile */
usb_kill_urb(dev->in_urb);
+
+ pn533_poll_reset_mod_list(dev);
}
static int pn533_activate_target_nfcdep(struct pn533 *dev)