Commit 4ea42235 authored by Balaji T K's avatar Balaji T K Committed by Chris Ball

mmc: omap_hsmmc: remove redundant reset done

Remove redundant reset done check since omap hwmod layer ensures IP reset.
Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent 19df45bc
...@@ -97,7 +97,6 @@ ...@@ -97,7 +97,6 @@
#define SRC (1 << 25) #define SRC (1 << 25)
#define SRD (1 << 26) #define SRD (1 << 26)
#define SOFTRESET (1 << 1) #define SOFTRESET (1 << 1)
#define RESETDONE (1 << 0)
/* Interrupt masks for IE and ISE register */ /* Interrupt masks for IE and ISE register */
#define CC_EN (1 << 0) #define CC_EN (1 << 0)
...@@ -632,9 +631,6 @@ static int omap_hsmmc_context_restore(struct omap_hsmmc_host *host) ...@@ -632,9 +631,6 @@ static int omap_hsmmc_context_restore(struct omap_hsmmc_host *host)
u32 hctl, capa; u32 hctl, capa;
unsigned long timeout; unsigned long timeout;
if (!OMAP_HSMMC_READ(host->base, SYSSTATUS) & RESETDONE)
return 1;
if (host->con == OMAP_HSMMC_READ(host->base, CON) && if (host->con == OMAP_HSMMC_READ(host->base, CON) &&
host->hctl == OMAP_HSMMC_READ(host->base, HCTL) && host->hctl == OMAP_HSMMC_READ(host->base, HCTL) &&
host->sysctl == OMAP_HSMMC_READ(host->base, SYSCTL) && host->sysctl == OMAP_HSMMC_READ(host->base, SYSCTL) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment