aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-21 10:20:01 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-04 15:34:31 -0400
commit7c2a04a933d51b45af7660bd1790339eb3c33308 (patch)
tree557cb775e32ba287a1e3bba0e101aa8b03ce78c6 /drivers/nfc
parentcb3a4503f41f7f60bbc74a937bc30a0e143fc53c (diff)
NFC: Reset poll mod list when stopping pn533 poll
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index db4078765ac9..6b8a65ca0d71 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1371,6 +1371,8 @@ static void pn533_stop_poll(struct nfc_dev *nfc_dev)
1371 1371
1372 /* prevent pn533_start_poll_complete to issue a new poll meanwhile */ 1372 /* prevent pn533_start_poll_complete to issue a new poll meanwhile */
1373 usb_kill_urb(dev->in_urb); 1373 usb_kill_urb(dev->in_urb);
1374
1375 pn533_poll_reset_mod_list(dev);
1374} 1376}
1375 1377
1376static int pn533_activate_target_nfcdep(struct pn533 *dev) 1378static int pn533_activate_target_nfcdep(struct pn533 *dev)