]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca - main: isoc mode devices are never low speed
authorHans de Goede <hdegoede@redhat.com>
Sun, 1 Jan 2012 16:34:58 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 11:05:32 +0000 (09:05 -0200)
commitc46e5506afbaf914cd6c2cb9ecb5c37aea7d9e9a
treeff677b98ebfdac878abb7f5d4d8668b10f82a12b
parent2fa9aaed4864ee736d6a49428ca8f4c0291fdd2b
[media] gspca - main: isoc mode devices are never low speed

Quoting from the official usb 20 spec:
"5.6.4 Isochronous Transfer Bus Access Constraints

Isochronous transfers can only be used by full-speed and high-speed devices."

This means that for code paths which are isoc mode only, we don't need to
check for the device being low speed, simplifying the code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c