diff options
author | Olof Johansson <olof@lixom.net> | 2017-04-19 10:02:50 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2017-04-19 10:02:50 -0400 |
commit | d7718c147a89783ec3bf1735f724ca32174393dd (patch) | |
tree | 9e4bcf1aafcb470c9d28430baeb1a89e48c49968 | |
parent | ab57c2b4948eb02108b26b9c3410a811bae5e352 (diff) | |
parent | f147140c7f0350d363c10aeb51b78b65b2425266 (diff) |
Merge tag 'hisi-armv7-soc-for-4.12' of git://github.com/hisilicon/linux-hisi into next/soc
ARM: mach-hisi: Hisilicon SoC updates for 4.12
- Fix the error return code in hip04_smp_init
* tag 'hisi-armv7-soc-for-4.12' of git://github.com/hisilicon/linux-hisi:
ARM: hisi: fix error return code in hip04_smp_init()
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-hisi/platmcpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/platmcpm.c b/arch/arm/mach-hisi/platmcpm.c index a6c117622d67..f66815c3dd07 100644 --- a/arch/arm/mach-hisi/platmcpm.c +++ b/arch/arm/mach-hisi/platmcpm.c | |||
@@ -279,6 +279,8 @@ static int __init hip04_smp_init(void) | |||
279 | &hip04_boot_method[0], 4); | 279 | &hip04_boot_method[0], 4); |
280 | if (ret) | 280 | if (ret) |
281 | goto err; | 281 | goto err; |
282 | |||
283 | ret = -ENODEV; | ||
282 | np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl"); | 284 | np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl"); |
283 | if (!np_sctl) | 285 | if (!np_sctl) |
284 | goto err; | 286 | goto err; |