]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: core: Simplify ufshcd_err_handling_prepare()
authorBart Van Assche <bvanassche@acm.org>
Tue, 22 Oct 2024 19:31:01 +0000 (12:31 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2024 19:01:11 +0000 (15:01 -0400)
commit2a36646012fc58e6262435ff5d2c8c97456c253f
tree9fee3e47fa065eec89aed993dd5d37a82bcaa250
parentb5d9da58a05172ec08301e06932338ade6d55f82
scsi: ufs: core: Simplify ufshcd_err_handling_prepare()

Use blk_mq_quiesce_tagset() instead of ufshcd_scsi_block_requests() and
blk_mq_wait_quiesce_done(). Since this patch removes the last callers of
ufshcd_scsi_block_requests() and ufshcd_scsi_unblock_requests(), remove
these functions.

Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-6-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h