]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: core: Unbreak the reset handler
authorBart Van Assche <bvanassche@acm.org>
Thu, 16 Sep 2021 17:54:04 +0000 (10:54 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Sep 2021 03:56:19 +0000 (23:56 -0400)
commit2661cae193543de4d24942168ce65eff21319477
tree64cad0dc559c0106d594e4ee56f3cd153cb16e30
parentb630ce5024ae6a5244d3ef72c852a967ff192fd4
scsi: ufs: core: Unbreak the reset handler

A command tag is passed as the second argument of the
__ufshcd_transfer_req_compl() call in ufshcd_eh_device_reset_handler()
instead of a bitmask. Fix this by passing a bitmask as argument instead of
a command tag.

Link: https://lore.kernel.org/r/20210916175408.2260084-1-bvanassche@acm.org
Fixes: 5dca33072f3c ("scsi: ufs: Optimize host lock on transfer requests send/compl paths")
Cc: Can Guo <cang@codeaurora.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c