diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-09-22 09:07:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-08 10:06:19 -0500 |
commit | c0f71bbb810237a38734607ca4599632f7f5d47f (patch) | |
tree | 803d52026384fe7520a03347001912dc7fa8463a /drivers/media/tuners/fc0013-priv.h | |
parent | cee32edb2302b6199dd763d44573f6b4f220f0e8 (diff) |
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/tuners/fc0013-priv.h')
0 files changed, 0 insertions, 0 deletions