]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: ohci: properly clear posted write errors
authorClemens Ladisch <clemens@ladisch.de>
Tue, 30 Nov 2010 07:24:32 +0000 (08:24 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 13 Dec 2010 19:39:14 +0000 (20:39 +0100)
commite1d22d9e5177ee2138c4b507514772c47f43136e
treeff9f3ccefccc5ab3b6bf0b5b7690af6a451230cc
parent918b064f8b6334e0cb2312e3d2190fa46e99be33
firewire: ohci: properly clear posted write errors

To remove the error information from the controller's queue and to allow
more posted writes, the driver has to read the failed posted write
address before clearing the postedWriteErr interrupt bit.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
(Stefan R:) The spec is somewhat fuzzy about the actual requirements.
To err on the safe side, let's do these two read accesses.

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