]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbdb5ab60ffd176699a03e1780cf41227f7e7386
treeb99bc0351da1d37808d633cb8d64c1030dc37479
parent9e4a8fc6418895f71504a3fecf9b60e1b7383a2d
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