Skip to content

Commit d42d368

Browse files
Mani-Sadhasivammartinkpetersen
authored andcommitted
scsi: ufs: qcom: Remove the warning message when core_reset is not available
core_reset is optional, so there is no need to warn the user if it is not available. Reviewed-by: Andrew Halaney <ahalaney@redhat.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20231208065902.11006-6-manivannan.sadhasivam@linaro.org Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8775p-ride Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 1f165c8 commit d42d368

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/ufs/host/ufs-qcom.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,8 @@ static int ufs_qcom_host_reset(struct ufs_hba *hba)
296296
struct ufs_qcom_host *host = ufshcd_get_variant(hba);
297297
bool reenable_intr;
298298

299-
if (!host->core_reset) {
300-
dev_warn(hba->dev, "%s: reset control not set\n", __func__);
299+
if (!host->core_reset)
301300
return 0;
302-
}
303301

304302
reenable_intr = hba->is_irq_enabled;
305303
disable_irq(hba->irq);

0 commit comments

Comments
 (0)