[PATCHv3 2/2] ARM: imx: Add mx53 support to common msl functions.

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Nov 9 17:12:13 EST 2010


Hello,

> > -	if (!cpu_is_mx51())
> > +	if (!cpu_is_mx51() || !cpu_is_mx53())
> >  		return 0;
> 
> The code below runs for every SoC except i.MX51 and i.MX53. This is
> surely not what you want.
Hmm, for i.MX51 !cpu_is_mx53() is true, so the return 0 is always taken,
isn't it? :-)

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list