]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: hisi: fix error return code in hip04_smp_init()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 5 Feb 2017 16:32:55 +0000 (16:32 +0000)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 28 Mar 2017 14:30:54 +0000 (15:30 +0100)
commitf147140c7f0350d363c10aeb51b78b65b2425266
treeee4f97689bfd5f0c9b4ba3af36ae40c95cca3429
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
ARM: hisi: fix error return code in hip04_smp_init()

Fix to return error code -ENODEV from the of_find_compatible_node()
error handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/mach-hisi/platmcpm.c