[PATCH] arm: mx28: fix bit operation in clock setting

Shawn Guo shawn.guo at freescale.com
Wed Nov 16 20:12:27 EST 2011


On Wed, Nov 16, 2011 at 02:20:42PM +0100, Wolfram Sang wrote:
> On Sat, Sep 10, 2011 at 12:26:07PM +0200, Wolfram Sang wrote:
> > reg | (1 << clk->enable_shift) always evaluates to true. Switch it
> > to & which makes much more sense. Same fix as 13be9f00 (ARM i.MX28: fix
> > bit operation) at a different location.
> > 
> > Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> > Cc: Sascha Hauer <s.hauer at pengutronix.de>
> > Cc: Shawn Guo <shawn.guo at freescale.com>
> > ---
> 
> Ping.
> 
Applied on mxs/fixes, thanks.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list