linux-stable/drivers/media/pci/bt8xx
Hans Verkuil 54ce93d7e6 media: bttv: add back vbi hack
[ Upstream commit 3f1faa154a ]

The old (now removed) videobuf framework had an optional vbi hack where
the sequence number of the frame counter was copied in the last 4 bytes
of the buffer. This hack was active only for the read() interface
(so not for streaming I/O), and it was enabled by bttv. This allowed
applications that used read() for the VBI data to match it with the
corresponding video frame.

When bttv was converted to vb2 this hack was forgotten, but some old
applications rely on this.

So add this back, but this time in the bttv driver rather than in the
vb2 framework.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: b7ec3212a7 ("media: bttv: convert to vb2")
Tested-by: Dr. David Alan Gilbert <dave@treblig.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:35:35 -08:00
..
bt848.h media: bttv: convert to vb2 2023-08-14 20:27:59 +02:00
bt878.c media: bt8xx: Fix a missing check bug in bt878_probe 2021-06-02 13:25:52 +02:00
bt878.h
btcx-risc.c media: bttv: drop overlay support 2023-03-20 00:29:11 +01:00
btcx-risc.h media: bttv: drop overlay support 2023-03-20 00:29:11 +01:00
bttv-audio-hook.c media: bttv: use audio defaults for winfast2000 2023-08-14 20:27:59 +02:00
bttv-audio-hook.h
bttv-cards.c media: bttv: drop overlay support 2023-03-20 00:29:11 +01:00
bttv-driver.c media: bttv: add back vbi hack 2024-01-25 15:35:35 -08:00
bttv-gpio.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
bttv-i2c.c
bttv-if.c
bttv-input.c
bttv-risc.c media: bt8xx: bttv_risc_packed(): remove field checks 2023-09-14 23:31:55 +02:00
bttv-vbi.c media: bttv: start_streaming should return a proper error code 2024-01-25 15:35:34 -08:00
bttv.h bttv: remove unused tea5757_set_freq declaration 2022-10-24 19:03:52 +02:00
bttvp.h media: bttv: convert to vb2 2023-08-14 20:27:59 +02:00
dst.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
dst_ca.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
dst_ca.h
dst_common.h
dst_priv.h
dvb-bt8xx.c
dvb-bt8xx.h
Kconfig media: bttv: convert to vb2 2023-08-14 20:27:59 +02:00
Makefile