mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
NFC: Reset poll mod list when stopping pn533 poll
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
cb3a4503f4
commit
7c2a04a933
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user