Commit f0f4633a authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab

V4L/DVB (11801): dib0700: reduce xc5000 sleep time for Pinnacle 801e to 10ms

According to the xc5000 spec, the reset pin only needs to be held low for 10ms.
Signed-off-by: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4900877b
...@@ -1346,9 +1346,9 @@ static int dib0700_xc5000_tuner_callback(void *priv, int component, ...@@ -1346,9 +1346,9 @@ static int dib0700_xc5000_tuner_callback(void *priv, int component,
if (command == XC5000_TUNER_RESET) { if (command == XC5000_TUNER_RESET) {
/* Reset the tuner */ /* Reset the tuner */
dib0700_set_gpio(adap->dev, GPIO1, GPIO_OUT, 0); 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); dib0700_set_gpio(adap->dev, GPIO1, GPIO_OUT, 1);
msleep(330); /* from Windows USB trace */ msleep(10);
} else { } else {
err("xc5000: unknown tuner callback command: %d\n", command); err("xc5000: unknown tuner callback command: %d\n", command);
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment