modem-8660: Don't restart non-modem processors in debug mode
Future versions of subsystem_restart() will require calling
subsystem_restart() with a pointer returned from
subsystem_register(). Remove this call for lpass from the modem
driver so that we can ease the transition.
Change-Id: Ib81016fcc221789ae6b886eb60733ea7273c698e
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/modem-8660.c b/arch/arm/mach-msm/modem-8660.c
index 0b7b768..9c558e4 100644
--- a/arch/arm/mach-msm/modem-8660.c
+++ b/arch/arm/mach-msm/modem-8660.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -275,8 +275,6 @@
{
if (reset_modem == 1)
smsm_reset_modem(SMSM_RESET);
- else if (reset_modem == 2)
- subsystem_restart("lpass");
reset_modem = 0;
schedule_delayed_work(&debug_crash_modem_work, msecs_to_jiffies(1000));