Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 375bf771 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: dwc3: Add API to read back after register write



Write memory barrier can be used to ensure that the write buffer
on the processor has completed its operation before subsequent
operations can be started. However, it does not check the status
of the bus level write buffers. In case a device memory write
needs to complete an operation without waiting for next write to
same device memory region (which flushes previous write), it is
recommended to perform a read back right after write operation.
This eliminates the need to add memory barrier and also makes
sure bus level write buffer gets flushed.

Change-Id: I3af062be6eab65bb264f1a4d030672aa0c5f6b9a
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 6f1c8202
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment