Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
spi: spi-geni-qcom: Slightly optimize setup of bidirectional xfters
When setting up a bidirectional transfer we need to program both the TX and RX lengths. We don't need a memory barrier between those two writes. Factor out the __iowmb() and use writel_relaxed(). This saves a fraction of a microsecond of setup overhead on bidirectional transfers. Signed-off-by: Douglas Anderson <dianders@chromium.org>
- Loading branch information