]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit027beb18ea04ebe21736af742feb87b55d822cb1
tree65f62e0eaf98fb2649f8b72f760c0a6ccd7cc26d
parent8f1e31d61bd2342cfc45eaa7bf8a0efdde400d00
[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