summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/dtcs033.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-09-22 09:07:06 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-08 10:06:19 -0500
commitc0f71bbb810237a38734607ca4599632f7f5d47f (patch)
tree803d52026384fe7520a03347001912dc7fa8463a /drivers/media/usb/gspca/dtcs033.c
parentcee32edb2302b6199dd763d44573f6b4f220f0e8 (diff)
downloadop-kernel-dev-c0f71bbb810237a38734607ca4599632f7f5d47f.zip
op-kernel-dev-c0f71bbb810237a38734607ca4599632f7f5d47f.tar.gz
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>
Diffstat (limited to 'drivers/media/usb/gspca/dtcs033.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud