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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:34:25 +0000 (21:34 -0800)
commit0d6c92125bf86413485063e18e61dac98635ad2f
treefb54e5b1e0c1b7d2e5dd8dc2954de3dbcffff19c
parente48bbf84539c73561bba27c4fae4f0c313807817
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