diff options
author | Jiri Kosina <jkosina@suse.cz> | 2019-09-22 22:29:00 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-09-22 22:29:00 +0200 |
commit | 53c716412708db7000e06292fb89b2609f9a48f7 (patch) | |
tree | 3ede481ee0926f0e53e14bba61028d307d58296c /drivers/usb/misc/yurex.c | |
parent | e6d64ce06c28b615ebfeab7b8bfad6136ea83095 (diff) | |
parent | aec256d0ecd561036f188dbc8fa7924c47a9edfd (diff) |
Merge branch 'for-5.4/apple' into for-linus
- stuck 'fn' key fix for hid-apple from Joao Moreno
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/misc/yurex.c')
-rw-r--r-- | drivers/usb/misc/yurex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c index 7b306aa22d25..6715a128e6c8 100644 --- a/drivers/usb/misc/yurex.c +++ b/drivers/usb/misc/yurex.c @@ -92,7 +92,6 @@ static void yurex_delete(struct kref *kref) dev_dbg(&dev->interface->dev, "%s\n", __func__); - usb_put_dev(dev->udev); if (dev->cntl_urb) { usb_kill_urb(dev->cntl_urb); kfree(dev->cntl_req); @@ -108,6 +107,7 @@ static void yurex_delete(struct kref *kref) dev->int_buffer, dev->urb->transfer_dma); usb_free_urb(dev->urb); } + usb_put_dev(dev->udev); kfree(dev); } |