mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
media: lmedm04: Add missing usb_free_urb to free interrupt urb.
The interrupt urb is killed but never freed add the function Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
3c28b91380
commit
87bd0e034e
@ -1229,6 +1229,7 @@ static void lme2510_exit(struct dvb_usb_device *d)
|
||||
usb_kill_urb(st->lme_urb);
|
||||
usb_free_coherent(d->udev, 128, st->buffer,
|
||||
st->lme_urb->transfer_dma);
|
||||
usb_free_urb(st->lme_urb);
|
||||
info("Interrupt Service Stopped");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user