summaryrefslogtreecommitdiff
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@linux.intel.com>2010-03-16 12:55:44 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 07:24:23 -0700
commitf09a15e6e69884cedec4d1c022089a973aa01f1e (patch)
treeed2902d5f29c3ede3fdadcf165d4c09e4831b498 /include/media/v4l2-common.h
parente549a17f698e266373f6757bd068d1e98397b4c0 (diff)
downloadlinux-3.10-f09a15e6e69884cedec4d1c022089a973aa01f1e.tar.gz
linux-3.10-f09a15e6e69884cedec4d1c022089a973aa01f1e.tar.bz2
linux-3.10-f09a15e6e69884cedec4d1c022089a973aa01f1e.zip
USB: Fix usb_fill_int_urb for SuperSpeed devices
USB 3 and Wireless USB specify a logarithmic encoding of the endpoint interval that matches the USB 2 specification. usb_fill_int_urb() didn't know that and was filling in the interval as if it was USB 1.1. Fix usb_fill_int_urb() for SuperSpeed devices, but leave the wireless case alone, because David Vrabel wants to keep the old encoding. Update the struct urb kernel doc to note that SuperSpeed URBs must have urb->interval specified in microframes. Add a missing break statement in the usb_submit_urb() interrupt URB checking, since wireless USB and SuperSpeed USB encode urb->interval differently. This allows xHCI roothubs to actually register with khubd. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/media/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions