diff options
author | 2017-09-22 09:07:06 -0400 | |
---|---|---|
committer | 2017-12-08 10:06:19 -0500 | |
commit | c0f71bbb810237a38734607ca4599632f7f5d47f (patch) | |
tree | 803d52026384fe7520a03347001912dc7fa8463a /drivers/media/platform/vimc/vimc-common.h | |
parent | media: cxusb: pass buf as a const u8 * pointer and make buf static const (diff) | |
download | wireguard-linux-c0f71bbb810237a38734607ca4599632f7f5d47f.tar.xz wireguard-linux-c0f71bbb810237a38734607ca4599632f7f5d47f.zip |
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/platform/vimc/vimc-common.h')
0 files changed, 0 insertions, 0 deletions