]> Gentwo Git Trees - linux/.git/commit
scsi: ufs: core: Change MCQ interrupt enable flow
authorPeter Wang <peter.wang@mediatek.com>
Wed, 24 Sep 2025 09:16:19 +0000 (17:16 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 25 Sep 2025 01:41:24 +0000 (21:41 -0400)
commit253757797973c54ea967f8fd8f40d16e4a78e6d4
tree0c432e32dc87189cf0984c903846778cc3baa631
parent0ac3c901fbeb87d7aaa89e913dbd692dd342c3a8
scsi: ufs: core: Change MCQ interrupt enable flow

Move the MCQ interrupt enable process to
ufshcd_mcq_make_queues_operational() to ensure that interrupts are set
correctly when making queues operational, similar to
ufshcd_make_hba_operational(). This change addresses the issue where
ufshcd_mcq_make_queues_operational() was not fully operational due to
missing interrupt enablement.

This change only affects host drivers that call
ufshcd_mcq_make_queues_operational(), i.e. ufs-mediatek.

Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufs-mcq.c
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h