summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/si21xx.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-09-08 19:10:43 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-23 16:13:38 -0300
commite947d9ad8ab118d51ff07b7d93c3c1a3e9f7c42f (patch)
treed9a80a48ec5803301caa91cfa4abb4a9ad6e764c /drivers/media/dvb-frontends/si21xx.c
parent3011e5e592a2d31556cc3eff335a1ecccd473fa0 (diff)
downloadlinux-stable-e947d9ad8ab118d51ff07b7d93c3c1a3e9f7c42f.tar.gz
linux-stable-e947d9ad8ab118d51ff07b7d93c3c1a3e9f7c42f.tar.bz2
linux-stable-e947d9ad8ab118d51ff07b7d93c3c1a3e9f7c42f.zip
[media] mceusb: fix usbdev leak
mceusb_init_rc_dev() does usb_get_dev(), but there is no any usb_put_dev() in the driver. The patch tries to straighten logic. It moves usb_get_dev() directly to mceusb_dev_probe() and adds usb_put_dev() to an error path and to mceusb_dev_disconnect(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si21xx.c')
0 files changed, 0 insertions, 0 deletions