mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
[media] em28xx: do not claim VBI support if the device is a camera
Avoids registering a VBI device and streaming in VBI-mode if the device is a camera. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
fff459e36f
commit
84e902aa05
1 changed files with 5 additions and 0 deletions
|
@ -681,6 +681,11 @@ int em28xx_vbi_supported(struct em28xx *dev)
|
|||
if (disable_vbi == 1)
|
||||
return 0;
|
||||
|
||||
if (dev->board.is_webcam)
|
||||
return 0;
|
||||
|
||||
/* FIXME: check subdevices for VBI support */
|
||||
|
||||
if (dev->chip_id == CHIP_ID_EM2860 ||
|
||||
dev->chip_id == CHIP_ID_EM2883)
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue