From: Sarah Sharp Date: Wed, 24 Apr 2013 00:11:14 +0000 (-0700) Subject: xhci: Remove BUG_ON in xhci_get_input_control_ctx. X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92f8e76769c687a7c38c5067ff375c187666ac18;p=pandora-kernel.git xhci: Remove BUG_ON in xhci_get_input_control_ctx. Fail gracefully, instead of causing the kernel to panic, if the input control context doesn't have the right type (XHCI_CTX_TYPE_INPUT). Push finding the pointer to the input control context up into functions that can fail. Signed-off-by: Sarah Sharp Cc: John Youn --- Reading git-diff-tree failed