xhci: remove BUG() in xhci_get_endpoint_type()
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 24 Apr 2013 14:24:58 +0000 (17:24 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 14 Jun 2013 20:53:23 +0000 (13:53 -0700)
If the endpoint type is unknown, set it to 0 and fail gracefully
instead of causing a kernel panic.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>

No differences found