From: Sarah Sharp Date: Wed, 9 Dec 2009 23:59:03 +0000 (-0800) Subject: USB: xhci: Allow allocation of commands without input contexts. X-Git-Tag: v2.6.34-rc1~215^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1d78c16bd31a715785e21967ac6110b386a3c1f;p=pandora-kernel.git USB: xhci: Allow allocation of commands without input contexts. The xhci_command structure is the basic structure for issuing commands to the xHCI hardware. It contains a struct completion (so that the issuing function can wait on the command), command status, and a input context that is used to pass information to the hardware. Not all commands need the input context, so make it optional to allocate. Allow xhci_free_container_ctx() to be passed a NULL input context, to make freeing the xhci_command structure simple. Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed