]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[media] tm6000: dvb doesn't work on usb1.1
authormatthieu castet <castet.matthieu@free.fr>
Fri, 16 Dec 2011 18:34:12 +0000 (15:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jan 2012 22:45:34 +0000 (20:45 -0200)
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tm6000/tm6000-dvb.c

index db6a561bca3ebd4b763c7e4546cf66ca753ba667..e1f3f66e1e63018f3db3074bfb276f765808dc96 100644 (file)
@@ -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");