summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-05-16 08:10:10 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-06-02 13:58:33 +0200
commitdd6254e5c0efe01ad255188898cb3dadf98cb56d (patch)
tree3417d788024a41ad5f28689fc1ef5095ae2a4b7f /scripts/Makefile.lib
parentbf337b15c28ae25904a73e7e2e0de2f9c4f0e9f8 (diff)
firewire: ohci: remove superfluous posted write flushes
The call to flush_writes() in context_stop() is superfluous because another register read is done immediately afterwards. The call to flush_writes() in ar_context_run() does not need to be done individually for each AR context, so move it to ohci_enable(). This also makes ohci_enable() clearer because it no longer depends on a side effect of ar_context_run() to flush its own register writes. Finally, the setting of a context's wake bit does not need to be flushed because neither the driver logic nor the API require the CPU to wait for this action. This removes the last MMIO reads from the packet queueing code paths. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions