Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: imx: remove i.MX6SLL support in i.MX6SL cpu idle driver

i.MX6SLL supports ARM power off in cpu idle, better to reuse
i.MX6SX cpu idle driver instead of i.MX6SL which does NOT
support ARM power off.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Anson Huang and committed by
Shawn Guo
83ef5da0 e7fa1fb3

+2 -5
+2 -5
arch/arm/mach-imx/cpuidle-imx6sl.c
··· 12 12 13 13 #include "common.h" 14 14 #include "cpuidle.h" 15 - #include "hardware.h" 16 15 17 16 static int imx6sl_enter_wait(struct cpuidle_device *dev, 18 17 struct cpuidle_driver *drv, int index) ··· 21 22 * Software workaround for ERR005311, see function 22 23 * description for details. 23 24 */ 24 - if (cpu_is_imx6sl()) 25 - imx6sl_set_wait_clk(true); 25 + imx6sl_set_wait_clk(true); 26 26 cpu_do_idle(); 27 - if (cpu_is_imx6sl()) 28 - imx6sl_set_wait_clk(false); 27 + imx6sl_set_wait_clk(false); 29 28 imx6_set_lpm(WAIT_CLOCKED); 30 29 31 30 return index;