From e9c4ad511349c5ce886813b64427f1d64746dd98 Mon Sep 17 00:00:00 2001
From: Bhavya Kapoor <b-kapoor@ti.com>
Date: Fri, 12 Aug 2022 02:52:45 +0530
Subject: [PATCH] mmc: host: sdhci_am654.c: Modified autosuspend delay

MMC controller gets suspended automatically after 100ms of inactivity.
Removed autosuspend feature by changing autosuspend delay
value from 100 to -1.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
---
 drivers/mmc/host/sdhci_am654.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
index 0770db59066f..8ac4c5f53912 100644
--- a/drivers/mmc/host/sdhci_am654.c
+++ b/drivers/mmc/host/sdhci_am654.c
@@ -85,7 +85,7 @@
 #define DRIVER_STRENGTH_40_OHM	0x4
 
 #define CLOCK_TOO_SLOW_HZ	50000000
-#define SDHCI_AM654_AUTOSUSPEND_DELAY	100
+#define SDHCI_AM654_AUTOSUSPEND_DELAY	-1
 
 /* Command Queue Host Controller Interface Base address */
 #define SDHCI_AM654_CQE_BASE_ADDR 0x200
