summaryrefslogtreecommitdiff
path: root/drivers/media/video/tm6000
diff options
context:
space:
mode:
authormatthieu castet <castet.matthieu@free.fr>2011-12-16 15:34:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-04 20:45:34 -0200
commitc81c0060acff726dc582185da303b3057d780af7 (patch)
tree1d2936e7f486a4431de0f1ce06a661c0fa7b0eff /drivers/media/video/tm6000
parent3874cd7796ef1a03cd6d2a2d886e3ac4c35af09c (diff)
downloadlwn-c81c0060acff726dc582185da303b3057d780af7.tar.gz
lwn-c81c0060acff726dc582185da303b3057d780af7.zip
[media] tm6000: dvb doesn't work on usb1.1
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tm6000')
-rw-r--r--drivers/media/video/tm6000/tm6000-dvb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/tm6000/tm6000-dvb.c b/drivers/media/video/tm6000/tm6000-dvb.c
index db6a561bca3e..e1f3f66e1e63 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");