[PATCH 9/9] MCI: imx-esdhc: Remove now unneeded check
Sascha Hauer
s.hauer at pengutronix.de
Fri Apr 26 16:57:38 EDT 2013
On Fri, Apr 26, 2013 at 08:41:14PM +0400, Alexander Shiyan wrote:
>
> 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);
These lines are removed by:
mci: imx-esdhc: remove cache snoop register access
So we can skip this patch.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list