From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVpi8-0005JV-3L for barebox@lists.infradead.org; Fri, 26 Apr 2013 20:57:40 +0000 Date: Fri, 26 Apr 2013 22:57:38 +0200 From: Sascha Hauer Message-ID: <20130426205738.GY32299@pengutronix.de> References: <1366994474-21325-1-git-send-email-shc_work@mail.ru> <1366994474-21325-9-git-send-email-shc_work@mail.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1366994474-21325-9-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 9/9] MCI: imx-esdhc: Remove now unneeded check To: Alexander Shiyan Cc: barebox@lists.infradead.org On Fri, Apr 26, 2013 at 08:41:14PM +0400, Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox