[media] gspca - main: Handle the xHCI error on usb_set_interface()
authorJean-François Moine <moinejf@free.fr>
Wed, 10 Aug 2011 10:40:47 +0000 (07:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 24 Sep 2011 02:23:07 +0000 (23:23 -0300)
This patch is adapted from a patch from Sarah Sharp (2010/05/03).
The xHCD handler checks the USB bandwidth on usb_set_interface()
instead of on usb_submit_urb().
Now, the same treatment is applied in case of error of both functions.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found