linux/include/ufs
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
..
ufs_quirks.h scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufs.h scsi: ufs: core: Set the Command Priority (CP) flag for RT requests 2023-09-27 11:12:50 -04:00
ufshcd.h scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make use of them 2023-12-13 23:03:45 -05:00
ufshci.h scsi: ufs: Simplify transfer request header initialization 2023-07-31 15:17:51 -04:00
unipro.h scsi: ufs: core: Add enums for UFS lanes 2023-07-31 14:47:11 -04:00