usb: imx21-hcd: set task state with schedule_timeout_uninterruptible()
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 26 Jul 2010 08:26:22 +0000 (12:26 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:43 +0000 (14:35 -0700)
commit9a4b7c3b14905a191da09980b9da966be5fc7fa2
treeaa3eab220ba8d2623335c4c67fa977fd5515966c
parentafad19648f70c6493193e0a774bd754b7790b4a0
usb: imx21-hcd: set task state with schedule_timeout_uninterruptible()

imx21_hc_reset() uses schedule_timeout() without setting state to
STATE_(UN)INTERRUPTIBLE. As it is called in cycle without checking of
pending signals, use schedule_timeout_uninterruptible().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/imx21-hcd.c