linux/drivers/scsi/ufs
Manivannan Sadhasivam 223b17ed76 scsi: ufs: qcom: Fix acquiring the optional reset control line
On Qcom UFS platforms, the reset control line seems to be optional (for
SoCs like MSM8996 and probably for others too). The current logic tries to
mimic the devm_reset_control_get_optional() API but it also continues the
probe if there is an error with the declared reset line in DT/ACPI.

In an ideal case, if the reset line is not declared in DT/ACPI, the probe
should continue. But if there is problem in acquiring the declared reset
line (like EPROBE_DEFER) it should fail and return the appropriate error
code.

Link: https://lore.kernel.org/r/20220504084212.11605-2-manivannan.sadhasivam@linaro.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-05-10 21:52:53 -04:00
..
cdns-pltfrm.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
Kconfig scsi: ufs: Remove paths from source code comments 2022-04-25 23:23:03 -04:00
Makefile scsi: ufs: core: Probe for temperature notification support 2021-09-22 00:07:42 -04:00
tc-dwc-g210-pci.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
tc-dwc-g210-pltfrm.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
tc-dwc-g210.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
tc-dwc-g210.h scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ti-j721e-ufs.c scsi: ufs: Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() 2022-04-26 22:24:27 -04:00
ufs_bsg.c scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufs_bsg.h scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs_quirks.h scsi: ufs: Declare the quirks array const 2022-04-25 23:23:02 -04:00
ufs-debugfs.c scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufs-debugfs.h scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufs-exynos.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs-exynos.h scsi: ufs: Remove the TRUE and FALSE definitions 2022-04-25 23:23:03 -04:00
ufs-fault-injection.c scsi: ufs: Add fault injection support 2021-08-03 07:27:42 -04:00
ufs-fault-injection.h scsi: ufs: Add fault injection support 2021-08-03 07:27:42 -04:00
ufs-hisi.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs-hisi.h scsi: ufs: ufs-hisi: Use device parameter initialization function 2020-11-17 01:03:18 -05:00
ufs-hwmon.c scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufs-mediatek-trace.h scsi: ufs-mediatek: Use correct path to fix compile error 2020-12-09 12:00:26 -05:00
ufs-mediatek.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs-mediatek.h scsi: ufs: ufs-mediatek: Introduce default delay for reference clock 2021-10-18 22:38:35 -04:00
ufs-qcom-ice.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs-qcom.c scsi: ufs: qcom: Fix acquiring the optional reset control line 2022-05-10 21:52:53 -04:00
ufs-qcom.h scsi: ufs: Remove unnecessary ufshcd-crypto.h include directives 2022-04-25 23:23:03 -04:00
ufs-sysfs.c scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufs-sysfs.h scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufs.h scsi: ufs: Move the ufs_is_valid_unit_desc_lun() definition 2022-04-25 23:23:04 -04:00
ufshcd-crypto.c blk-crypto: rename blk_keyslot_manager to blk_crypto_profile 2021-10-21 10:49:32 -06:00
ufshcd-crypto.h scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufshcd-dwc.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufshcd-dwc.h scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufshcd-pci.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufshcd-pltfrm.c scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufshcd-pltfrm.h scsi: ufs: Reduce power management code duplication 2021-08-02 21:43:57 -04:00
ufshcd-priv.h scsi: ufs: Move the ufs_is_valid_unit_desc_lun() definition 2022-04-25 23:23:04 -04:00
ufshcd.c scsi: ufs: core: Remove duplicate include in ufshcd 2022-04-26 08:31:42 -04:00
ufshcd.h scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufshci-dwc.h
ufshci.h scsi: ufs: Minimize #include directives 2022-04-25 23:23:04 -04:00
ufshpb.c scsi: ufs: Split the ufshcd.h header file 2022-04-25 23:23:04 -04:00
ufshpb.h scsi: ufs: ufshpb: Properly handle max-single-cmd 2021-11-03 21:51:56 -04:00
unipro.h scsi: ufs: Remove the TRUE and FALSE definitions 2022-04-25 23:23:03 -04:00