]> Pileus Git - ~andy/linux/blobdiff - drivers/media/video/mt20xx.c
[PATCH] fix black/white-only svideo input in vpx3220 decoder
[~andy/linux] / drivers / media / video / mt20xx.c
index 9c005cb128d7cbeb6d1327fe6845fb797791b30e..972aa5e0aeef623f7ac8e02e6333949d02395246 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: mt20xx.c,v 1.5 2005/06/16 08:29:49 nsh Exp $
  *
  * i2c tv tuner chip device driver
  * controls microtune tuners, mt2032 + mt2050 at the moment.
@@ -494,6 +493,7 @@ int microtune_init(struct i2c_client *c)
        memset(buf,0,sizeof(buf));
        t->tv_freq    = NULL;
        t->radio_freq = NULL;
+       t->standby    = NULL;
        name = "unknown";
 
         i2c_master_send(c,buf,1);
@@ -511,22 +511,6 @@ int microtune_init(struct i2c_client *c)
        tuner_info("microtune: companycode=%04x part=%02x rev=%02x\n",
                   company_code,buf[0x13],buf[0x14]);
 
-#if 0
-       /* seems to cause more problems than it solves ... */
-       switch (company_code) {
-       case 0x30bf:
-       case 0x3cbf:
-       case 0x3dbf:
-       case 0x4d54:
-       case 0x8e81:
-       case 0x8e91:
-               /* ok (?) */
-               break;
-       default:
-               tuner_warn("tuner: microtune: unknown companycode\n");
-               return 0;
-       }
-#endif
 
        if (buf[0x13] < ARRAY_SIZE(microtune_part) &&
            NULL != microtune_part[buf[0x13]])