Skip to content

Commit b7ec321

Browse files
deborahbrouwermchehab
authored andcommitted
media: bttv: convert to vb2
Convert this driver from the old videobuf framework to videobuf2. Signed-off-by: Deborah Brouwer <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent f5f17f0 commit b7ec321

File tree

6 files changed

+542
-896
lines changed

6 files changed

+542
-896
lines changed

drivers/media/pci/bt8xx/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ config VIDEO_BT848
33
tristate "BT848 Video For Linux"
44
depends on PCI && I2C && VIDEO_DEV
55
select I2C_ALGOBIT
6-
select VIDEOBUF_DMA_SG
6+
select VIDEOBUF2_DMA_SG
77
depends on RC_CORE
88
depends on MEDIA_RADIO_SUPPORT
99
select VIDEO_TUNER

drivers/media/pci/bt8xx/bt848.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,15 @@
231231

232232
#define BT848_INT_ETBF (1<<23)
233233

234+
#define BT848_RISC_VIDEO 1
235+
#define BT848_RISC_TOP 2
236+
#define BT848_RISC_VBI 4
237+
234238
#define BT848_INT_RISCS (0xf<<28)
239+
#define BT848_INT_RISCS_VIDEO (BT848_RISC_VIDEO << 28)
240+
#define BT848_INT_RISCS_TOP (BT848_RISC_TOP << 28)
241+
#define BT848_INT_RISCS_VBI (BT848_RISC_VBI << 28)
242+
235243
#define BT848_INT_RISC_EN (1<<27)
236244
#define BT848_INT_RACK (1<<25)
237245
#define BT848_INT_FIELD (1<<24)

0 commit comments

Comments
 (0)