mirror of https://gitee.com/openkylin/linux.git
a0a966b838
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:
|
||
---|---|---|
.. | ||
include/mach | ||
Kconfig | ||
Makefile | ||
common.h | ||
exynos-smc.S | ||
exynos.c | ||
firmware.c | ||
headsmp.S | ||
mcpm-exynos.c | ||
mfc.h | ||
platsmp.c | ||
pm.c | ||
pm_domains.c | ||
regs-srom.h | ||
s5p-dev-mfc.c | ||
sleep.S | ||
smc.h | ||
suspend.c |