Commit a0679e6b authored by Can Guo's avatar Can Guo Committed by Sandeep Patil
Browse files

FROMGIT: scsi: ufs: Remove a redundant command completion logic in error handler

ufshcd_host_reset_and_restore() anyways completes all pending requests
before starts re-probing, so there is no need to complete the command on
the highest bit in tr_doorbell in advance.

Link: https://lore.kernel.org/r/1621845419-14194-2-git-send-email-cang@codeaurora.org


Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Bug: 190637035
(cherry picked from commit 1cca0c3f
 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 5.14/scsi-staging)
Change-Id: Iabcf44f49119de956016e25c2be2f58324fac240
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 53fa86c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment