From: Jason Wang Date: Sat, 21 Aug 2010 08:24:04 +0000 (+0800) Subject: mx5/clock: fix clear bit fields issue in _clk_ccgr_disable function X-Git-Tag: v2.6.36-rc4~64^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f67bff58662604874778e6853e5c394f944e554;p=pandora-kernel.git 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 Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed