msm: SSR: Don't fail init on NULL restart orders
The subsystem framework works fine without a restart_order for a particular machine. Therefore, always return success if there are no restart orders. This allows 8974 to start using the subsystem restart framework while we work on removing the need for the restart order list. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> (cherry picked from commit 973b3ef7f54569a777ebb5d49fdd02ff155b62b0) Change-Id: I054f2c90598889bb3de042296f96c4e09d5a1589 Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
This commit is contained in:
@@ -599,7 +599,6 @@ static int __init ssr_init_soc_restart_orders(void)
|
|||||||
|
|
||||||
if (restart_orders == NULL || n_restart_orders < 1) {
|
if (restart_orders == NULL || n_restart_orders < 1) {
|
||||||
WARN_ON(1);
|
WARN_ON(1);
|
||||||
return -EINVAL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user