usb: host: ehci: Add missed memory barrier in the hcd driver
authorJay Cheng <jacheng@nvidia.com>
Wed, 27 Oct 2010 15:45:19 +0000 (11:45 -0400)
committerBenoit Goby <benoit@android.com>
Thu, 28 Oct 2010 19:45:46 +0000 (12:45 -0700)
commitb0d63aa773c36f121c8f5b98280227dd11e8bcf3
treeed142aec9d5a0267df9c3f24fd95f344e01f6af7
parent2b32d2a33a1b15f8bff096deff51e222c9fa171b
usb: host: ehci: Add missed memory barrier in the hcd driver

There is one wmb missing in the usb host controller driver after the queue head
update. Due to this data transaction is not happening on the bus after urb
submission by the hcd driver. Register updates/queue heads data in the memory
is not reflected on the AHB bus. After adding the wmb after queue head update
data transaction the USB bus started with out any delay.

originally fixed by Venkat Moganty <vmoganty@nvidia.com>

Change-Id: Ic834df5172ac2f2eb3bced317d38b4a2e7a44801
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
drivers/usb/host/ehci-q.c