Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox