mtip32xx: fix for driver hang after a command timeout
authorAsai Thambi S P <asamymuthupa@micron.com>
Fri, 11 Jan 2013 13:16:04 +0000 (18:46 +0530)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Jan 2013 13:35:55 +0000 (14:35 +0100)
commit47cd4b3c7e80cc8d5ac82930c5af835870b5aba1
tree259f9754916aa8f29c969a330eece233ae95592e
parentb6c46cfa312639a5416959258e6a81bea2fdaf8a
mtip32xx: fix for driver hang after a command timeout

If an I/O command times out when a PIO command is active,
MTIP_PF_EH_ACTIVE_BIT is not cleared. This results in I/O
hang in the driver. Fix is to clear this bit.

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c