USB: xhci: No GFP_KERNEL in block error handling
authorOliver Neukum <oliver@neukum.org>
Wed, 16 Dec 2009 18:43:59 +0000 (19:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:19 +0000 (14:53 -0800)
commit319c3ea451e19f72b578661e26fb33739af5ae1c
tree6c6743ee55ce2791009036101893c6cda82a944d
parent97d35f95552c9a0ee4777a7f04431a9fd1260478
USB: xhci: No GFP_KERNEL in block error handling

xhci_add_endpoint() is used in the reset path. It must
use GFP_NOIO to avoid a possible deadlock.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Acked-by: Sarah Sharp <sarah.a.sharp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hcd.c