mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
[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>
This commit is contained in:
parent
3874cd7796
commit
c81c0060ac
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user