]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
USB: xhci: Fail gracefully if there's no SS ep companion descriptor.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 27 Jul 2009 19:04:38 +0000 (12:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jul 2009 21:31:12 +0000 (14:31 -0700)
commitb7d6d99896a6cf38dc354d673afd3fbde10b86c2
treed408bad39ad67314b99a0d7a77c197d70fbfa550
parent4a73143ced467868e92d7914d9f8bf797640927b
USB: xhci: Fail gracefully if there's no SS ep companion descriptor.

This is a work around for a bug in the SuperSpeed Endpoint Companion Descriptor
parsing code.  It fails in some corner cases, which means ep->ss_ep_comp may be
NULL.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-mem.c