summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2018-12-05 14:11:57 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-07 08:11:39 -0500
commit87bd0e034e84bdfd8037efb337cb6ad006329793 (patch)
tree0e69b9398ba7e8c9c809b2c0182b1dde2feecd78 /drivers/media
parent3c28b91380dd1183347d32d87d820818031ebecf (diff)
downloadlinux-rpi-87bd0e034e84bdfd8037efb337cb6ad006329793.tar.gz
linux-rpi-87bd0e034e84bdfd8037efb337cb6ad006329793.tar.bz2
linux-rpi-87bd0e034e84bdfd8037efb337cb6ad006329793.zip
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/dvb-usb-v2/lmedm04.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c b/drivers/media/usb/dvb-usb-v2/lmedm04.c
index e9b149a26ce5..cba782261a6f 100644
--- a/drivers/media/usb/dvb-usb-v2/lmedm04.c
+++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c
@@ -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");
}
}