diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-09-10 12:26:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 08:52:24 -0800 |
commit | 051a11b53377e312462be9423c083adfc44d600c (patch) | |
tree | d8326cbcef9d54d13fbf60fb387fd75ced8115da /arch/arm/mach-rpc | |
parent | bfbcb8185dfbb5a9ecaa09bb816a96740e104c0f (diff) |
arm: mx28: fix bit operation in clock setting
commit c2735391fbc68feae10d6d14e60956c8106e725f upstream.
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@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/mach-rpc')
0 files changed, 0 insertions, 0 deletions