From df46dcb085957204ac4b1cb1ea834a205a479e0c Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Fri, 9 Dec 2011 15:13:56 +0800 Subject: [PATCH] ENGR00162181-4 MX6Q/GPMI : only decrease the DMA clock when GPMI is enabled. Do not decrease the DMA clock if GPMI is not enabled. just for workaround. Signed-off-by: Huang Shijie --- arch/arm/mach-mx6/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index 67d86b3e067c..dca5b11b1dc1 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -4888,8 +4888,10 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc, /* set the GPMI clock to : 11MHz */ clk_set_rate(&enfc_clk, enfc_clk.round_rate(&enfc_clk, 11000000)); +#ifdef CONFIG_MTD_NAND_GPMI_NFC /* set the DMA clock */ clk_set_rate(&usdhc3_clk, usdhc3_clk.round_rate(&usdhc3_clk, 11000000)); +#endif mx6_cpu_op_init(); cpu_op_tbl = get_cpu_op(&cpu_op_nr); -- 2.39.5