fsl_usb2_udc: Add a wmb before priming endpoint.
authorWill Newton <will.newton@gmail.com>
Tue, 12 Aug 2008 14:39:16 +0000 (15:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:07 +0000 (14:41 -0700)
commit59097fb73cf60276053551308524f6c772f305a9
treeac240300da3c23d3536ad3cec3eee0f27a71b0bb
parent224b50390104af7602871894540d94cc759dc4c0
fsl_usb2_udc: Add a wmb before priming endpoint.

Add a wmb to fsl_queue_td before priming the endpoint. This ensures that the
modifications to the QH are seen by the hardware.

Added comment as suggested by Felipe Balbi.

Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_usb2_udc.c