Skip to content
Commit c2735391 authored by Wolfram Sang's avatar Wolfram Sang Committed by Arnd Bergmann
Browse files

arm: mx28: fix bit operation in clock setting



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: default avatarWolfram Sang <w.sang@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Cc: stable@kernel.org
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 9b7c547f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment