[PATCH 11/13] sdhci: Add quirk for controllers that need IRQ re-init after reset

Anton Vorontsov avorontsov at ru.mvista.com
Sat Feb 14 04:30:47 EST 2009


On Fri, Feb 13, 2009 at 04:47:13PM +0100, Laurent Pinchart wrote:
> Hi Anton,
> 
> On Friday 13 February 2009 15:47:38 Anton Vorontsov wrote:
[...]
> > sdhci_host *host) static void sdhci_reset(struct sdhci_host *host, u8 mask)
> >  {
> >  	unsigned long timeout;
> > +	u32 ier = 0; /* shut up gcc */
> 
> You should use
> 
> 	u32 uninitialized_var(ier);
> 
> instead to avoid generating extra code.

Thanks Laurent, will fix.

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list