UPSTREAM: usb: dwc2: host: spinlock release channel
authorGregory Herrero <gregory.herrero@intel.com>
Thu, 5 Nov 2015 08:41:41 +0000 (09:41 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 09:50:13 +0000 (17:50 +0800)
commit67e28810e34edeecc47fe7ab36ee5a60ca1ccf50
tree7d2f9cf73269608ac4e72a7285f8d16ca0587021
parentc98605c4bcdbd5ec38361f5b0bc2dc3430a31a6c
UPSTREAM: usb: dwc2: host: spinlock release channel

Prevent dwc2 driver from accessing channel while it frees it.

Change-Id: Ia3c1593d84f3bb164ca165c1f35e574fd6afbb8b
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 2b046bc5aaefd4aba7195e6a73afe14f7f786692)
drivers/usb/dwc2/hcd_ddma.c