mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:21:01 +07: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