OpenCloudOS-Kernel/arch/arm/mach-exynos
Pankaj Dubey ce36f6ad86 ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf
If no platform devices binded to the driver but driver itself loaded and
exynos_sys_powerdown_conf is called from
arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access,
to prevent this added check on pmu_context for NULL.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2015-11-17 13:32:56 +09:00
..
include/mach ARM: SAMSUNG: remove unused DMA infrastructure 2015-01-24 13:09:54 +09:00
Kconfig ARM: SoC: late fixes and dependencies 2015-09-10 17:59:04 -07:00
Makefile ARM: SAMSUNG: make local s5p-dev-mfc in mach-exynos 2015-07-30 01:49:00 +09:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
common.h ARM: EXYNOS: Remove duplicated define of SLEEP_MAGIC 2015-07-21 13:17:05 +09:00
exynos-pmu.h ARM: EXYNOS: Move PMU specific definitions from common.h 2014-11-21 22:49:44 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12 2015-08-14 03:07:10 +09:00
firmware.c ARM: EXYNOS: Remove duplicated define of SLEEP_MAGIC 2015-07-21 13:17:05 +09:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
mcpm-exynos.c ARM: EXYNOS: reset Little cores when cpu is up 2015-09-14 10:02:43 +09:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem 2015-07-21 13:19:06 +09:00
pm.c ARM: EXYNOS: add coupled cpuidle support for Exynos3250 2015-06-06 02:17:57 +09:00
pm_domains.c ARM: EXYNOS: Fix double of_node_put() when parsing child power domains 2015-10-13 04:37:17 +09:00
pmu.c ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf 2015-11-17 13:32:56 +09:00
regs-pmu.h ARM: EXYNOS: reset Little cores when cpu is up 2015-09-14 10:02:43 +09:00
regs-srom.h ARM: SAMSUNG: local regs-srom header in mach-exynos 2015-07-30 02:00:35 +09:00
s5p-dev-mfc.c ARM: SAMSUNG: make local s5p-dev-mfc in mach-exynos 2015-07-30 01:49:00 +09:00
sleep.S ARM: 8325/1: exynos: move resume code to .text section 2015-03-29 23:11:57 +01:00
smc.h ARM: EXYNOS: add AFTR mode support for Exynos3250 2015-03-27 02:35:48 +09:00
suspend.c ARM: SoC cleanups for v4.4 2015-11-10 14:48:36 -08:00