summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-29 05:25:40 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-29 05:25:40 +0000
commitd4edc10f1e5f97e7b33317378419a8a7b6d44795 (patch)
tree74fb59a608d88d14111a2346a4708f13ce939a3a /linux/drivers/media/video
parent84027120ee4e4a5dad1dc88509902152c688842e (diff)
downloadmediapointer-dvb-s2-d4edc10f1e5f97e7b33317378419a8a7b6d44795.tar.gz
mediapointer-dvb-s2-d4edc10f1e5f97e7b33317378419a8a7b6d44795.tar.bz2
saa7134: fix I2C remote controls on saa7134
From: Dmitri Belimov <d.belimov@gmail.com> This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type. With my best regards, Dmitry. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c
index ce8bcc967..c839114a0 100644
--- a/linux/drivers/media/video/saa7134/saa7134-core.c
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c
@@ -760,6 +760,10 @@ static int saa7134_hw_enable2(struct saa7134_dev *dev)
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_IRQ2, irq2_mask);