ARM i.MX28: fix bit operation
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 14 Jan 2011 13:30:03 +0000 (14:30 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 24 Jan 2011 08:01:04 +0000 (09:01 +0100)
commit13be9f00c33fe69112fe6c755d6a8f3e249abbb2
tree102a64866c2442ed2b3a75167a8c7e572bea7c86
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470
ARM i.MX28: fix bit operation

reg | (1 << clk->enable_shift) always evaluates to true. Switch it
to & which makes much more sense

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-mxs/clock-mx28.c