acr122_usb: remove pn53x_idle support. Fixes issue #217
This commit is contained in:
parent
a303b9e33c
commit
5446242094
1 changed files with 1 additions and 3 deletions
|
@ -552,8 +552,6 @@ acr122_usb_close(nfc_device *pnd)
|
||||||
{
|
{
|
||||||
acr122_usb_ack(pnd);
|
acr122_usb_ack(pnd);
|
||||||
|
|
||||||
pn53x_idle(pnd);
|
|
||||||
|
|
||||||
int res;
|
int res;
|
||||||
if ((res = usb_release_interface(DRIVER_DATA(pnd)->pudh, 0)) < 0) {
|
if ((res = usb_release_interface(DRIVER_DATA(pnd)->pudh, 0)) < 0) {
|
||||||
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_ERROR, "Unable to release USB interface (%s)", _usb_strerror(res));
|
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_ERROR, "Unable to release USB interface (%s)", _usb_strerror(res));
|
||||||
|
@ -895,5 +893,5 @@ const struct nfc_driver acr122_usb_driver = {
|
||||||
.device_get_information_about = pn53x_get_information_about,
|
.device_get_information_about = pn53x_get_information_about,
|
||||||
|
|
||||||
.abort_command = acr122_usb_abort_command,
|
.abort_command = acr122_usb_abort_command,
|
||||||
.idle = pn53x_idle,
|
.idle = NULL, // Even with a PN532, PowerDown doesn't seem a good idea here
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue