hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/nfc/port100.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Sony NFC Port-100 Series driver
34 * Copyright (c) 2013, Intel Corporation.
45 *
56 * Partly based/Inspired by Stephen Tiedemann's nfcpy
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms and conditions of the GNU General Public License,
9
- * version 2, as published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
15
- *
167 */
178
189 #include <linux/module.h>
....@@ -1618,7 +1609,9 @@
16181609 nfc_digital_free_device(dev->nfc_digital_dev);
16191610
16201611 error:
1612
+ usb_kill_urb(dev->in_urb);
16211613 usb_free_urb(dev->in_urb);
1614
+ usb_kill_urb(dev->out_urb);
16221615 usb_free_urb(dev->out_urb);
16231616 usb_put_dev(dev->udev);
16241617