From 92f8e76769c687a7c38c5067ff375c187666ac18 Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Tue, 23 Apr 2013 17:11:14 -0700 Subject: [PATCH] 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-format-patch failed