]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit8327b37b18addfc6f8cf41a2f1a4490b656377b9
treeff9f3ccefccc5ab3b6bf0b5b7690af6a451230cc
parente597e9898abe45beff4696159c7fe5c96f53e581
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