Skip to content

Commit

Permalink
Merge tag 'hisi-armv7-soc-for-4.12' of git://github.com/hisilicon/lin…
Browse files Browse the repository at this point in the history
…ux-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>
  • Loading branch information
Olof Johansson committed Apr 19, 2017
2 parents ab57c2b + f147140 commit d7718c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-hisi/platmcpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ static int __init hip04_smp_init(void)
&hip04_boot_method[0], 4);
if (ret)
goto err;

ret = -ENODEV;
np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl");
if (!np_sctl)
goto err;
Expand Down

0 comments on commit d7718c1

Please sign in to comment.