Skip to content

Commit

Permalink
[media] tm6000: Enable fast USB quirk on Cinergy Hybrid
Browse files Browse the repository at this point in the history
The Cinergy Hybrid cards are known not to need an artificial delay after
USB accesses so the quirk can safely be enabled.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Thierry Reding authored and Mauro Carvalho Chehab committed Sep 21, 2011
1 parent 4284570 commit 6e89648
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/staging/tm6000/tm6000-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,16 @@ static int fill_board_specific_data(struct tm6000_core *dev)
dev->vinput[2] = tm6000_boards[dev->model].vinput[2];
dev->rinput = tm6000_boards[dev->model].rinput;

/* setup per-model quirks */
switch (dev->model) {
case TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE:
dev->quirks |= TM6000_QUIRK_NO_USB_DELAY;
break;

default:
break;
}

/* initialize hardware */
rc = tm6000_init(dev);
if (rc < 0)
Expand Down

0 comments on commit 6e89648

Please sign in to comment.