[PATCH 9/9] MCI: imx-esdhc: Remove now unneeded check
Alexander Shiyan
shc_work at mail.ru
Fri Apr 26 12:41:14 EDT 2013
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
drivers/mci/imx-esdhc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 8194b4d..8133d2e 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -460,7 +460,7 @@ static int esdhc_init(struct mci_host *mci, struct device_d *dev)
regs = host->regs;
/* Enable cache snooping */
- if (host && !host->no_snoop)
+ if (!host->no_snoop)
esdhc_write32(®s->scr, 0x00000040);
/* Reset the entire host controller */
--
1.8.1.5
More information about the barebox
mailing list