xhci: Remove BUG_ON() in xhci_alloc_container_ctx.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 23 Apr 2013 22:49:47 +0000 (15:49 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 14 Jun 2013 20:43:43 +0000 (13:43 -0700)
It's horrible coding style to panic the kernel when someone passes you
an argument value you didn't expect.  In the future, we may want to add
additional context types, so it's better to gracefully handle additional
context types instead of panicking.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: John Youn <johnyoun@synopsys.com>

No differences found