From 0b489f858871617b35aa5e2a54557d64e01b8bd5 Mon Sep 17 00:00:00 2001 From: Mallikarjun Kasoju Date: Fri, 12 Jul 2024 22:39:29 +0000 Subject: [PATCH] ufs: Do not disable clocks in suspend Do not disable clocks in suepend. Bug 4732470 Change-Id: Iabf05c1d80e3339c10f7824edcc333cef065bc33 --- drivers/scsi/ufs/ufs-tegra-common.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/ufs/ufs-tegra-common.c b/drivers/scsi/ufs/ufs-tegra-common.c index 06c485fd..c7969369 100644 --- a/drivers/scsi/ufs/ufs-tegra-common.c +++ b/drivers/scsi/ufs/ufs-tegra-common.c @@ -1372,6 +1372,11 @@ static int ufs_tegra_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) ufshcd_set_link_off(hba); } + /* TODO: Check why disabling clocks causing crash */ + if (ufs_tegra->soc->chip_id == TEGRA264) { + goto end; + } + /* Clocks are not present on VDK */ if (tegra_sku_info.platform == TEGRA_PLATFORM_VDK) goto end;