arcmsr: clear outbound doorbell buffer completely
authorChing Huang <ching2048@areca.com.tw>
Tue, 19 Aug 2014 07:07:35 +0000 (15:07 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:39:49 +0000 (09:39 -0700)
commit5eb6bfa02a9dfecbb1f644a0b13b16cd3d23770b
tree3516dad932f67cab22915afa074abe9519025ae4
parenta2c89bbccac476d42a8526c0c59d081d9e56d0a8
arcmsr: clear outbound doorbell buffer completely

Clear outbound doorbell buffer completely for adapter type C.  This is to
prevent getting bad data input from IOP before ioctl command processing
starts.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/arcmsr/arcmsr_hba.c