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

Merge tag 'imx-soc-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/soc

i.MX SoC update for 5.2:
- Optimize i.MX6 cpuidle driver a little bit by omitting the
unnecessary unmask of GINT for WAIT_CLOCKED mode.

* tag 'imx-soc-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
ARM: imx6: cpuidle: omit the unnecessary unmask of GINT

Signed-off-by: Olof Johansson <olof@lixom.net>

+4 -2
+4 -2
arch/arm/mach-imx/pm-imx6.c
··· 354 354 * 355 355 * Note that IRQ #32 is GIC SPI #0. 356 356 */ 357 - imx_gpc_hwirq_unmask(0); 357 + if (mode != WAIT_CLOCKED) 358 + imx_gpc_hwirq_unmask(0); 358 359 writel_relaxed(val, ccm_base + CLPCR); 359 - imx_gpc_hwirq_mask(0); 360 + if (mode != WAIT_CLOCKED) 361 + imx_gpc_hwirq_mask(0); 360 362 361 363 return 0; 362 364 }