* Re: [REGRESSION, PATCH] I2C remote controls on saa7134
@ 2008-09-29 2:25 Dmitri Belimov
0 siblings, 0 replies; only message in thread
From: Dmitri Belimov @ 2008-09-29 2:25 UTC (permalink / raw)
To: video4linux-list
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
Hi All.
This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type.
diff -r 8e6cda021e0e linux/drivers/media/video/saa7134/saa7134-core.c
--- a/linux/drivers/media/video/saa7134/saa7134-core.c Fri Sep 26 11:29:03 2008 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c Mon Sep 29 06:20:59 2008 +1000
@@ -760,6 +760,10 @@
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);
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
With my best regards, Dmitry.
[-- Attachment #2: saa7134_ir-kbd-i2c.patch --]
[-- Type: text/x-patch, Size: 542 bytes --]
diff -r 8e6cda021e0e linux/drivers/media/video/saa7134/saa7134-core.c
--- a/linux/drivers/media/video/saa7134/saa7134-core.c Fri Sep 26 11:29:03 2008 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c Mon Sep 29 06:20:59 2008 +1000
@@ -760,6 +760,10 @@
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);
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-29 2:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29 2:25 [REGRESSION, PATCH] I2C remote controls on saa7134 Dmitri Belimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox