summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tm6000/tm6000-cards.c
diff options
context:
space:
mode:
authormatthieu castet <castet.matthieu@free.fr>2011-12-16 14:15:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-04 20:37:54 -0200
commit3874cd7796ef1a03cd6d2a2d886e3ac4c35af09c (patch)
treec7f73860ccff3a873f04bf5d0f7559643bd3a739 /drivers/media/video/tm6000/tm6000-cards.c
parent7581e61d8d7a3ed89a3fdac2235231cd36548f78 (diff)
downloadblackbird-op-linux-3874cd7796ef1a03cd6d2a2d886e3ac4c35af09c.tar.gz
blackbird-op-linux-3874cd7796ef1a03cd6d2a2d886e3ac4c35af09c.zip
[media] tm6000: improve loading speed on hauppauge 900H
- enable fast usb quirk - use usleep_range instead on msleep for short sleep - merge i2c out and usb delay - do like the windows driver that upload the tuner firmware with 80 bytes packets Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr> CC: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tm6000/tm6000-cards.c')
-rw-r--r--drivers/media/video/tm6000/tm6000-cards.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tm6000/tm6000-cards.c b/drivers/media/video/tm6000/tm6000-cards.c
index 6b74259cd5c8..3678918821b0 100644
--- a/drivers/media/video/tm6000/tm6000-cards.c
+++ b/drivers/media/video/tm6000/tm6000-cards.c
@@ -943,6 +943,7 @@ static void tm6000_config_tuner(struct tm6000_core *dev)
case TM6010_BOARD_HAUPPAUGE_900H:
case TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE:
case TM6010_BOARD_TWINHAN_TU501:
+ ctl.max_len = 80;
ctl.fname = "xc3028L-v36.fw";
break;
default:
@@ -1004,6 +1005,7 @@ static int fill_board_specific_data(struct tm6000_core *dev)
/* setup per-model quirks */
switch (dev->model) {
case TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE:
+ case TM6010_BOARD_HAUPPAUGE_900H:
dev->quirks |= TM6000_QUIRK_NO_USB_DELAY;
break;
OpenPOWER on IntegriCloud