usb: dwc3: core: memory ordering fix in close
authorOliver Neukum <oliver@neukum.org>
Sun, 26 Aug 2012 19:34:19 +0000 (21:34 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 31 Aug 2012 09:25:21 +0000 (12:25 +0300)
commit2a540edf7bb02f3e968d1ce7cb355e740ba7de13
tree13a0b718c53bd92a85ccb1385712a362bb2c451e
parentc6f83f386c2f7987a344368e33e55840c12bd38f
usb: dwc3: core: memory ordering fix in close

As a bitmap is used for free/used. As a device freed
all memory operations must be scheduled before the bitmap
is manipulated.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c