usb: gadget: mv_udc: flush item before head
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 26 Sep 2013 01:41:12 +0000 (18:41 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:42:39 +0000 (23:42 +0200)
commit5fc2e99732367e7048f8e29592ef2d7aa7d10d14
treecc12dabd37aedc2d96c503eaedee6f217df7bbcd
parent5a904430486102550f53a13f6fe63bb9657e55e1
usb: gadget: mv_udc: flush item before head

Make sure the transfer descriptor is flushed
before the queue is updated so that the controller
will not see old information.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/usb/gadget/mv_udc.c