scsi: ufs: qcom: Hold the mutex lock when configuring ESI
authorZiqi Chen <quic_ziqichen@quicinc.com>
Tue, 11 Jul 2023 08:48:46 +0000 (16:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 23 Jul 2023 19:24:49 +0000 (15:24 -0400)
commitf52a805e19b169989ec6c61254529b273a18116d
treee48e6ccc8f9f4a2900a67cdeead59469773c0b23
parent8f2b78652d0552e157a0b9cd354f2e5c20ba98ca
scsi: ufs: qcom: Hold the mutex lock when configuring ESI

Lock the MSI descriptor storage of a device when configuring ESI.
Otherwise we would see warnings during boot.

Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Link: https://lore.kernel.org/r/1689065327-45039-1-git-send-email-quic_ziqichen@quicinc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c