提交 3de2ed12 编写于 作者: D Dmitri Belimov 提交者: Mauro Carvalho Chehab

V4L/DVB (9065): saa7134: fix I2C remote controls on saa7134

This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type.
Signed-off-by: NBeholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f689d908
...@@ -699,6 +699,10 @@ static int saa7134_hw_enable2(struct saa7134_dev *dev) ...@@ -699,6 +699,10 @@ static int saa7134_hw_enable2(struct saa7134_dev *dev)
irq2_mask |= SAA7134_IRQ2_INTE_GPIO18A; irq2_mask |= SAA7134_IRQ2_INTE_GPIO18A;
} }
if (dev->has_remote == SAA7134_REMOTE_I2C) {
request_module("ir-kbd-i2c");
}
saa_writel(SAA7134_IRQ1, 0); saa_writel(SAA7134_IRQ1, 0);
saa_writel(SAA7134_IRQ2, irq2_mask); saa_writel(SAA7134_IRQ2, irq2_mask);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册