Commit 1a611d8c authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab

[media] lmedm04 ver 1.97 Remove delays required for STV0288

Remove delays added for STV0288 frontend.

This patch significantly speeds up channel change and scan.

It requires patch 10161-STV0288 increase delay between carrier search.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 77768e4b
...@@ -181,8 +181,6 @@ static int lme2510_usb_talk(struct dvb_usb_device *d, ...@@ -181,8 +181,6 @@ static int lme2510_usb_talk(struct dvb_usb_device *d,
ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01);
msleep(10);
ret |= usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, 0x01)); ret |= usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, 0x01));
ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ? ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ?
...@@ -455,8 +453,6 @@ static int lme2510_msg(struct dvb_usb_device *d, ...@@ -455,8 +453,6 @@ static int lme2510_msg(struct dvb_usb_device *d,
st->i2c_talk_onoff = 0; st->i2c_talk_onoff = 0;
} }
} }
if ((wbuf[3] != 0x6) & (wbuf[3] != 0x5))
msleep(5);
} }
break; break;
case TUNER_S0194: case TUNER_S0194:
...@@ -1294,5 +1290,5 @@ module_usb_driver(lme2510_driver); ...@@ -1294,5 +1290,5 @@ module_usb_driver(lme2510_driver);
MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0");
MODULE_VERSION("1.96"); MODULE_VERSION("1.97");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
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