Skip to content

Commit

Permalink
[media] tm6000: dvb doesn't work on usb1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
matthieu castet authored and Mauro Carvalho Chehab committed Jan 4, 2012
1 parent 3874cd7 commit c81c006
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/media/video/tm6000/tm6000-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,11 @@ static int dvb_init(struct tm6000_core *dev)
if (!dev->caps.has_dvb)
return 0;

if (dev->udev->speed == USB_SPEED_FULL) {
printk(KERN_INFO "This USB2.0 device cannot be run on a USB1.1 port. (it lacks a hardware PID filter)\n");
return 0;
}

dvb = kzalloc(sizeof(struct tm6000_dvb), GFP_KERNEL);
if (!dvb) {
printk(KERN_INFO "Cannot allocate memory\n");
Expand Down

0 comments on commit c81c006

Please sign in to comment.