OSDN Git Service

media: common/saa7146: fix VFL direction for vbi output
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 22 Mar 2023 12:51:36 +0000 (12:51 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 07:49:28 +0000 (08:49 +0100)
commit727c070cd0a3a7ae8f45b1b8dd65254607feef0c
tree9094ac41a5d35a6e6d72d9f8024ba346caea0f3d
parentc07deaa1f2bd3fb38a5f52de0f2b44d7fa6e8347
media: common/saa7146: fix VFL direction for vbi output

The VBI output device didn't have VFL_DIR_TX set, so this didn't work
anymore since the V4L2 core thought that it was a capture device instead.

Fix this. Also drop invalid capabilities for the VBI output device.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/common/saa7146/saa7146_fops.c