Commit c81c0060 authored by matthieu castet's avatar matthieu castet Committed by Mauro Carvalho Chehab

[media] tm6000: dvb doesn't work on usb1.1

Signed-off-by: default avatarMatthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3874cd77
...@@ -406,6 +406,11 @@ static int dvb_init(struct tm6000_core *dev) ...@@ -406,6 +406,11 @@ static int dvb_init(struct tm6000_core *dev)
if (!dev->caps.has_dvb) if (!dev->caps.has_dvb)
return 0; 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); dvb = kzalloc(sizeof(struct tm6000_dvb), GFP_KERNEL);
if (!dvb) { if (!dvb) {
printk(KERN_INFO "Cannot allocate memory\n"); printk(KERN_INFO "Cannot allocate memory\n");
......
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