firewire: ohci: do not start DMA contexts before link is enabled
authorClemens Ladisch <clemens@ladisch.de>
Mon, 11 Apr 2011 07:56:12 +0000 (09:56 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 19 Apr 2011 18:00:10 +0000 (20:00 +0200)
commitecf8328e59447b83a1f79628487e0e9f8801db84
tree20ea90d6a38687a48c28ad185c612d0dece86e6f
parent115881d395959b75c8c3bb94913f2ce869b8aa7a
firewire: ohci: do not start DMA contexts before link is enabled

OHCI 1.1 5.7.3 not only forbids enabling or starting any DMA contexts
before the linkEnable bit is set, but also explicitly warns of undefined
behaviour if this order is violated.

Don't violate it then.

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