We just disable the option

Signed-off-by: Daniel Lezcano <daniel.lezc...@free.fr>
---
 powerdebug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/powerdebug.c b/powerdebug.c
index 86f51bc..0f86e0c 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -377,7 +377,7 @@ int main(int argc, char **argv)
        regulators_info = regulator_init(&numregulators);
        if (!regulators_info) {
                printf("not enough memory to allocate regulators info\n");
-               return 1;
+               options->regulators = false;
        }
 
        if (clock_init()) {
-- 
1.7.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to