The patch number 14184 was added via Antti Palosaari <cr...@iki.fi>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Antti Palosaari  <cr...@iki.fi>
af9015: MYGICTV U718 remote autodetection


Autodetect MYGICTV U718 from eeprom hash and select remote automatically.
Remove old iManufacturer string compare based remote selection logic.

Priority: normal

Signed-off-by: Antti Palosaari <cr...@iki.fi>


---

 linux/drivers/media/dvb/dvb-usb/af9015.c |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff -r 1260fef91b68 -r ba9e81966f85 linux/drivers/media/dvb/dvb-usb/af9015.c
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c  Thu Feb 11 01:20:41 2010 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c  Thu Feb 11 01:44:12 2010 +0200
@@ -828,6 +828,9 @@
        { 0xa3703d00,
                af9015_rc_keys_a_link, ARRAY_SIZE(af9015_rc_keys_a_link),
                af9015_ir_table_a_link, ARRAY_SIZE(af9015_ir_table_a_link) },
+       { 0x9b7dc64e,
+               af9015_rc_keys_mygictv, ARRAY_SIZE(af9015_rc_keys_mygictv),
+               af9015_ir_table_mygictv, ARRAY_SIZE(af9015_ir_table_mygictv) },
        { }
 };
 
@@ -856,13 +859,7 @@
                        memset(manufacturer, 0, sizeof(manufacturer));
                        usb_string(udev, udev->descriptor.iManufacturer,
                                manufacturer, sizeof(manufacturer));
-                       if (!strcmp("Geniatech", manufacturer)) {
-                               /* iManufacturer 1 Geniatech
-                                  iProduct      2 AF9015 */
-                               table = af9015_setup_match(
-                                       AF9015_REMOTE_MYGICTV_U718,
-                                       af9015_setup_modparam);
-                       } else if (!strcmp("MSI", manufacturer)) {
+                       if (!strcmp("MSI", manufacturer)) {
                                /* iManufacturer 1 MSI
                                   iProduct      2 MSI K-VOX */
                                table = af9015_setup_match(


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/ba9e81966f85a174fedeacc828574f86e9f1cf91

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to