usb: gadget: fsl_udc: wmb ep_td struct when submitting to controller
authorColin Cross <ccross@android.com>
Wed, 3 Mar 2010 01:25:41 +0000 (17:25 -0800)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:26:36 +0000 (16:26 -0700)
commit8ce033fd1ff195d6ea5a87e7763d80898a2d940e
treeb98f5f5d39a66096625209da3a7fb393013d9815
parentfd9c8bc964b6204f1805a6a4baf0b14445903124
usb: gadget: fsl_udc: wmb ep_td struct when submitting to controller

Since these get allocated dmacoherent instead of noncacheable in armv7, we need
to do wmb before handing them to hardware.

Change-Id: I413eeb6da3bfeb754c4b475b19fe5823d83d3d04
Signed-off-by: Colin Cross <ccross@android.com>
Cc: Erik Gilling <konkers@android.com>
drivers/usb/gadget/fsl_udc_core.c