linux/arch/arm/mach-exynos
Krzysztof Kozlowski a0a966b838 ARM: EXYNOS: Properly skip unitialized parent clock in power domain on
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>
2016-04-25 11:35:37 +02:00
..
include/mach ARM: SAMSUNG: Remove unused register offset definition 2016-02-25 13:24:27 +09:00
common.h ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +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: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
firmware.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
Kconfig ARM: SoC platform updates for v4.6 2016-03-20 14:57:08 -07:00
Makefile drivers: soc: Add support for Exynos PMU driver 2016-02-25 10:18:07 +09:00
mcpm-exynos.c ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung" 2016-02-25 10:13:36 +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: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
pm_domains.c ARM: EXYNOS: Properly skip unitialized parent clock in power domain on 2016-04-25 11:35:37 +02:00
pm.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +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: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +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: EXYNOS: Move pmu specific headers under "linux/soc/samsung" 2016-02-25 10:13:36 +09:00