android_kernel_samsung_univ.../arch/arm/mach-exynos
Krzysztof Kozlowski 63e9a60f43 ARM: EXYNOS: Properly skip unitialized parent clock in power domain on
commit a0a966b83873f33778710a4fc59240244b0734a5 upstream.

We want to skip reparenting a clock on turning on power domain, if we
do not have the parent yet. The parent is obtained when turning the
domain off. However due to a typo, the loop is continued on IS_ERR() of
clock being reparented, not on the IS_ERR() of the parent.

Theoretically this could lead to OOPS on first turn on of a power
domain, if there was no turn off before. Practically that should never
happen because all power domains are turned on by default (reset value,
bootloader does not turn off them usually) so the first action will be
always turn off.

Fixes: 29e5eea06b ("ARM: EXYNOS: Get current parent clock for power domain on/off")
Reported-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-11 11:21:14 +02:00
..
include/mach
common.h
exynos-pmu.h
exynos-smc.S
exynos.c
firmware.c
headsmp.S
Kconfig ARM: EXYNOS: select THERMAL_OF 2016-05-04 14:48:53 -07:00
Makefile
Makefile.boot
mcpm-exynos.c ARM: EXYNOS: reset Little cores when cpu is up 2015-09-14 10:02:43 +09:00
mfc.h
platsmp.c
pm_domains.c ARM: EXYNOS: Properly skip unitialized parent clock in power domain on 2016-05-11 11:21:14 +02:00
pm.c
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
s5p-dev-mfc.c
sleep.S
smc.h
suspend.c ARM: SoC cleanups for v4.4 2015-11-10 14:48:36 -08:00