msm: subsystem_restart: Change the is_loadable flag to is_not_loadable
The is_loadable flag introduced in the subsystem descriptor is not used
by all subsystems. For subsystems not using this flag, the behavior
must be same as before introducing this flag. Do this by changing
the flag to is_not_loadable. So only subsystems without PIL will set
this flag. Subsystems using PIL will not set this flag.
Change-Id: I44c056660a2cc4df9c86b81db9c3983092519107
Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
diff --git a/arch/arm/mach-msm/subsystem_restart.c b/arch/arm/mach-msm/subsystem_restart.c
index 9479d46c..26f0210 100644
--- a/arch/arm/mach-msm/subsystem_restart.c
+++ b/arch/arm/mach-msm/subsystem_restart.c
@@ -495,7 +495,7 @@
if (ret)
return ret;
- if (!subsys->desc->is_loadable)
+ if (subsys->desc->is_not_loadable)
return 0;
ret = wait_for_err_ready(subsys);