From: Devin Heitmueller <dheitmueller@kernellabs.com>
Date: Fri, 3 Apr 2009 01:14:51 +0000 (-0300)
Subject: V4L/DVB (11794): au0828: reduce reset time for xc5000 to 10ms
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b25ed9c5352ed338376481d45525392a75d40e33;p=linux.git

V4L/DVB (11794): au0828: reduce reset time for xc5000 to 10ms

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>
---

diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c
index 053bbe8c8e3aa..830c4a933f635 100644
--- a/drivers/media/video/au0828/au0828-cards.c
+++ b/drivers/media/video/au0828/au0828-cards.c
@@ -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