diff mbox

saa7134: Fix IR support of some ASUS TV-FM 7135 variants

Message ID 20100130115632.03da7e1b@hyperion.delvare (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare Jan. 30, 2010, 10:56 a.m. UTC
None
diff mbox

Patch

--- v4l-dvb.orig/linux/drivers/media/video/saa7134/saa7134-cards.c	2010-01-30 10:56:50.000000000 +0100
+++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c	2010-01-30 11:52:18.000000000 +0100
@@ -7299,6 +7299,11 @@  int saa7134_board_init2(struct saa7134_d
 		       printk(KERN_INFO "%s: P7131 analog only, using "
 						       "entry of %s\n",
 		       dev->name, saa7134_boards[dev->board].name);
+
+			/* IR init has already happened for other cards, so
+			 * we have to catch up. */
+			dev->has_remote = SAA7134_REMOTE_GPIO;
+			saa7134_input_init1(dev);
 	       }
 	       break;
 	case SAA7134_BOARD_HAUPPAUGE_HVR1150: