summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-08-30 15:18:21 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-08-30 15:18:21 +0200
commite36ea2be82e0ac670bf5493b8625bcacd7aa74c8 (patch)
tree91fdcf5a5a2b80b0c5550a768466520e44f5fd8c
parentd3cb936980b4090615fdfd74744f7c440aa8be01 (diff)
downloadmediapointer-dvb-s2-e36ea2be82e0ac670bf5493b8625bcacd7aa74c8.tar.gz
mediapointer-dvb-s2-e36ea2be82e0ac670bf5493b8625bcacd7aa74c8.tar.bz2
bttv: Don't unmask VPRES interrupt
From: Jean Delvare <khali@linux-fr.org> When the input is set to tuner and no antenna is connected, the BT848 can flood VPRES interrupts. So we don't want to enable this type of interrupts when the input it set to tuner. As we don't do anything when receiving such an interrupt anyway, the easiest fix is to simply not unmask this specific interrupt. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index a111df094..1c8183c2c 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -1387,7 +1387,7 @@ static void init_irqreg(struct bttv *btv)
(btv->gpioirq ? BT848_INT_GPINT : 0) |
BT848_INT_SCERR |
(fdsr ? BT848_INT_FDSR : 0) |
- BT848_INT_RISCI|BT848_INT_OCERR|BT848_INT_VPRES|
+ BT848_INT_RISCI | BT848_INT_OCERR |
BT848_INT_FMTCHG|BT848_INT_HLOCK|
BT848_INT_I2CDONE,
BT848_INT_MASK);