media: bttv: move vbi_skip/vbi_count out of buffer
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Sat, 15 Jul 2023 02:16:06 +0000 (19:16 -0700)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 14 Aug 2023 18:27:59 +0000 (20:27 +0200)
commitc9c0df318acdf32c8c03997cc9f5652710eaa995
treeb33de494ed7ac909ceda42ef5b47b064998508df
parent0f5f12e40824956ed18c1301bed7ac81a33cc70a
media: bttv: move vbi_skip/vbi_count out of buffer

Instead of storing vbi_skip and vbi_count in each bttv buffer separately,
move them to the main bttv struct as they won't change per buffer.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/bt8xx/bttv-risc.c
drivers/media/pci/bt8xx/bttv-vbi.c
drivers/media/pci/bt8xx/bttvp.h