浏览代码

V4L/DVB (8879): bttv: Don't unmask VPRES interrupt

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>
Jean Delvare 16 年之前
父节点
当前提交
eb1b27bd86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/video/bt8xx/bttv-driver.c

+ 1 - 1
drivers/media/video/bt8xx/bttv-driver.c

@@ -1367,7 +1367,7 @@ static void init_irqreg(struct bttv *btv)
 			(btv->gpioirq ? BT848_INT_GPINT : 0) |
 			(btv->gpioirq ? BT848_INT_GPINT : 0) |
 			BT848_INT_SCERR |
 			BT848_INT_SCERR |
 			(fdsr ? BT848_INT_FDSR : 0) |
 			(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_FMTCHG|BT848_INT_HLOCK|
 			BT848_INT_I2CDONE,
 			BT848_INT_I2CDONE,
 			BT848_INT_MASK);
 			BT848_INT_MASK);