]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: clear outstanding_request bit in case query timeout
authorYaniv Gardi <ygardi@codeaurora.org>
Mon, 1 Feb 2016 13:02:40 +0000 (15:02 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit30ef0089e4af9aa5e41b53794f0d66e4a213c8bc
tree742ab6f477835019f2cad24a5f3de80885fe21d1
parent161a1bf2171636a87f56733933e96014e4324c5e
scsi: ufs: clear outstanding_request bit in case query timeout

When sending a query to the device returns with a timeout error, we
clear the corresponding bit in the DOORBELL register but we don't clear
the outstanding_request field as we should.  This patch fixes this bug.

Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Reviewed-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c