Message ID | 20101128134005.35ec0010@pedra (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/drivers/media/video/bt8xx/bttv-input.c b/drivers/media/video/bt8xx/bttv-input.c index 7f48306..8ede256 100644 --- a/drivers/media/video/bt8xx/bttv-input.c +++ b/drivers/media/video/bt8xx/bttv-input.c @@ -522,6 +522,11 @@ int bttv_input_init(struct bttv *btv) gpio = bttv_gpio_read(&btv->c); bttv_gpio_write(&btv->c, gpio & ~(1 << 4)); bttv_gpio_write(&btv->c, gpio | (1 << 4)); + + /* set normal/inverted mode at GPINTR pin as irq trigger */ + btaor(0, + ~(BT848_GPIO_DMA_CTL_GPINTC | BT848_GPIO_DMA_CTL_GPINTI), + BT848_GPIO_DMA_CTL); } else { /* init hardware-specific stuff */ bttv_gpio_inout(&btv->c, ir->mask_keycode | ir->mask_keydown, 0);