linux/drivers/media/usb/hdpvr
Arvind Yadav c0f71bbb81 media: hdpvr: Fix an error handling path in hdpvr_probe()
Here, hdpvr_register_videodev() is responsible for setup and
register a video device. Also defining and initializing a worker.
hdpvr_register_videodev() is calling by hdpvr_probe at last.
So no need to flush any work here.
Unregister v4l2, free buffers and memory. If hdpvr_probe() will fail.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 10:06:19 -05:00
..
hdpvr-control.c [media] hdpvr: reduce memory footprint when debugging 2014-09-23 16:13:36 -03:00
hdpvr-core.c media: hdpvr: Fix an error handling path in hdpvr_probe() 2017-12-08 10:06:19 -05:00
hdpvr-i2c.c media: usb: make i2c_adapter const 2017-08-26 08:41:58 -04:00
hdpvr-video.c [media] hdpvr: fix interrupted recording 2016-11-16 13:30:30 -02:00
hdpvr.h [media] hdpvr: Remove deprecated create_singlethread_workqueue 2016-07-08 15:02:57 -03:00
Kconfig [media] media: fix hdpvr kconfig/build errors 2013-05-27 08:51:27 -03:00
Makefile