firewire: ohci: cache the context run bit
authorClemens Ladisch <clemens@ladisch.de>
Fri, 24 Dec 2010 13:42:46 +0000 (14:42 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 4 Jan 2011 07:48:33 +0000 (08:48 +0100)
commit386a4153a2c1455e424f280d636efa3c91864466
treeb99bc0351da1d37808d633cb8d64c1030dc37479
parent78dec56d6a56322e1b728d51f3a7def416d36b34
firewire: ohci: cache the context run bit

The DMA context run control bit is entirely controlled by software, so
it is safe to cache it.  This allows the driver to avoid doing an
additional MMIO read when queueing an AT packet.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c