commit | 7f67bff58662604874778e6853e5c394f944e554 | [log] [tgz] |
---|---|---|
author | Jason Wang <jason77.wang@gmail.com> | Sat Aug 21 16:24:04 2010 +0800 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Sat Aug 21 12:22:43 2010 +0200 |
tree | 56bc733a19732d137b824f571f9e1b6e0f5e4351 | |
parent | a38b372fc2a3d8fe7ddbeab94d4c8bcb721f2403 [diff] |
mx5/clock: fix clear bit fields issue in _clk_ccgr_disable function We can see MXC_CCM_CCGRx_MOD_OFF is defined as 0 while MXC_CCM_CCGRx_CG_MASK is defined as 0x3 in crm_regs.h, here in the _clk_ccgr_disable function, we want to clear the corresponding enable bit fields to disable this clock, so we should choose MASK instead of OFF otherwise clocks can't be disabled. Signed-off-by: Jason Wang <jason77.wang@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>