[media] au0828: only create V4L2 graph if V4L2 is registered
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 9 Feb 2016 15:46:05 +0000 (13:46 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 10:03:29 +0000 (08:03 -0200)
commit82e92f4cad6e0c42f8dbe7497b39dec7b3eb7b11
tree65f62e0eaf98fb2649f8b72f760c0a6ccd7cc26d
parentac90aa02d5b9a9bde6bcd9ac3ee181a4d212d355
[media] au0828: only create V4L2 graph if V4L2 is registered

It doesn't make sense to try to create the analog TV graph,
if the device fails to register at V4L2, or if it doesn't have
V4L2 support.

Thanks to Shuah for pointing this issue.

Reported-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c
This page took 0.024406 seconds and 5 git commands to generate.