V4L/DVB (11801): dib0700: reduce xc5000 sleep time for Pinnacle 801e to 10ms
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 5 May 2009 00:57:41 +0000 (21:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:07 +0000 (18:21 -0300)
According to the xc5000 spec, the reset pin only needs to be held low for 10ms.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_devices.c

index 6251b384fb53151c2509632890f8d3a7fa3d2081..dc6cae14f12f0d65d52daa6bb59610a5799fc4ac 100644 (file)
@@ -1346,9 +1346,9 @@ static int dib0700_xc5000_tuner_callback(void *priv, int component,
        if (command == XC5000_TUNER_RESET) {
                /* Reset the tuner */
                dib0700_set_gpio(adap->dev, GPIO1, GPIO_OUT, 0);
-               msleep(330); /* from Windows USB trace */
+               msleep(10);
                dib0700_set_gpio(adap->dev, GPIO1, GPIO_OUT, 1);
-               msleep(330); /* from Windows USB trace */
+               msleep(10);
        } else {
                err("xc5000: unknown tuner callback command: %d\n", command);
                return -EINVAL;