]> 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)
commit8de018a097c6d22f9cfcc24db5a81711f294c5a6
tree65f62e0eaf98fb2649f8b72f760c0a6ccd7cc26d
parent2e7c9bede10cb2535f952d30459637feba0c101d
[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