]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Support clearing multiple commands at once
authorBart Van Assche <bvanassche@acm.org>
Mon, 13 Jun 2022 21:44:41 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 01:32:09 +0000 (21:32 -0400)
commit4eeebbc42e71cb78c4b1be42d9990e584aad81d2
tree7a5bec591ec05c11106ce08a45cd8c08dce6b1c4
parent3fefc1bab53b9ea55f4af6b7c1299bda0646cbfe
scsi: ufs: Support clearing multiple commands at once

Modify ufshcd_clear_cmd() such that it supports clearing multiple commands
at once instead of one command at a time. This change will be used in a
later patch to reduce the time spent in the reset handler.

Link: https://lore.kernel.org/r/20220613214442.212466-3-bvanassche@acm.org
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c