From c81c0060acff726dc582185da303b3057d780af7 Mon Sep 17 00:00:00 2001 From: matthieu castet Date: Fri, 16 Dec 2011 15:34:12 -0300 Subject: [PATCH] [media] tm6000: dvb doesn't work on usb1.1 Signed-off-by: Matthieu CASTET Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/tm6000/tm6000-dvb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/video/tm6000/tm6000-dvb.c b/drivers/media/video/tm6000/tm6000-dvb.c index db6a561..e1f3f66 100644 --- a/drivers/media/video/tm6000/tm6000-dvb.c +++ b/drivers/media/video/tm6000/tm6000-dvb.c @@ -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"); -- 2.7.4