linux-stable/drivers/ufs/core
Manivannan Sadhasivam 0ae7a02726 scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make use of them
Instead of duplicating the enable/disable IRQ part, let's export the
helpers available in ufshcd driver and make use of them. This also fixes
the possible redundant IRQ disable before asserting reset (when IRQ was
already disabled).

Fixes: 4a791574a0 ("scsi: ufs: ufs-qcom: Disable interrupt in reset path")
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231208065902.11006-7-manivannan.sadhasivam@linaro.org
Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8775p-ride
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-12-13 23:03:45 -05:00
..
Kconfig scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
Makefile scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufs-debugfs.c
ufs-debugfs.h
ufs-fault-injection.c scsi: ufs: Replace all non-returning strlcpy() with strscpy() 2023-05-31 18:06:54 -04:00
ufs-fault-injection.h
ufs-hwmon.c scsi: ufs: Rename a function argument 2023-07-31 15:17:50 -04:00
ufs-mcq.c Merge branch '6.5/scsi-fixes' into 6.6/scsi-staging 2023-08-30 20:56:24 -04:00
ufs-sysfs.c scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufs-sysfs.h
ufs_bsg.c scsi: ufs: core: Add advanced RPMB support where UFSHCI 4.0 does not support EHS length in UTRD 2023-08-30 21:42:30 -04:00
ufs_bsg.h
ufshcd-crypto.c scsi: ufs: Ungate the clock synchronously 2023-05-31 11:44:01 -04:00
ufshcd-crypto.h scsi: ufs: Simplify transfer request header initialization 2023-07-31 15:17:51 -04:00
ufshcd-priv.h scsi: ufs: Improve type safety 2023-07-31 15:17:50 -04:00
ufshcd.c scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make use of them 2023-12-13 23:03:45 -05:00