V4L/DVB (11794): au0828: reduce reset time for xc5000 to 10ms
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 3 Apr 2009 01:14:51 +0000 (22:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:06 +0000 (18:21 -0300)
The xc5000 datasheet indicates that the reset pin only needs to be held low
for 10ms.  Reduce the value accordingly, which speeds up the firmware load
time a bit.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-cards.c

index 053bbe8c8e3aaf89bd8850c5196400fdeb34e129..830c4a933f635ffc8256bd3deff50409380aa1bb 100644 (file)
@@ -136,9 +136,9 @@ int au0828_tuner_callback(void *priv, int component, int command, int arg)
                        /* Tuner Reset Command from xc5000 */
                        /* Drive the tuner into reset and out */
                        au0828_clear(dev, REG_001, 2);
-                       mdelay(200);
+                       mdelay(10);
                        au0828_set(dev, REG_001, 2);
-                       mdelay(50);
+                       mdelay(10);
                        return 0;
                } else {
                        printk(KERN_ERR