cciss: do not attempt to read from a write-only register
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Sat, 9 Jul 2011 07:04:12 +0000 (09:04 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 9 Jul 2011 07:04:12 +0000 (09:04 +0200)
commit07d0c38e7d84f911c72058a124c7f17b3c779a65
treed9a63809a1d67e5410ff5cf76a43fb6899d0c281
parenta7e9357f10744c3392ce3cd735c690ee513c7375
cciss: do not attempt to read from a write-only register

Most smartarrays will tolerate it, but some new ones don't.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>

Note: this is a regression caused by commit 1ddd5049
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.h