msm: dsps: Disabling Subsystem Restart (SSR)

Instead of restarting the Dedicated Sensors Processor Subsystem
(DSPS) in response to reset requests and fatal errors, simply
crash the entire device.

CRs-fixed: 316900
Change-Id: I6bb7d39d569991319a2e0ac38cdc56c209ea86b9
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
diff --git a/arch/arm/mach-msm/msm_dsps.c b/arch/arm/mach-msm/msm_dsps.c
index bcb777f..5419087 100644
--- a/arch/arm/mach-msm/msm_dsps.c
+++ b/arch/arm/mach-msm/msm_dsps.c
@@ -40,7 +40,7 @@
 #include <mach/subsystem_notif.h>
 
 #define DRV_NAME	"msm_dsps"
-#define DRV_VERSION	"3.00"
+#define DRV_VERSION	"3.01"
 
 #define PPSS_PAUSE_REG	0x1804
 
@@ -655,11 +655,12 @@
 	if (dsps_state & SMSM_RESET) {
 		pr_err("%s: DSPS fatal error detected. Resetting\n",
 		       __func__);
+		panic("DSPS fatal error detected.");
 	} else {
 		pr_debug("%s: User-initiated DSPS reset. Resetting\n",
 			 __func__);
+		panic("User-initiated DSPS reset.");
 	}
-	subsystem_restart("dsps");
 }
 
 
@@ -682,7 +683,7 @@
 		pr_err
 		    ("%s: SMSM_RESET state detected. restarting the DSPS\n",
 		     __func__);
-		subsystem_restart("dsps");
+		panic("SMSM_RESET state detected.");
 	}
 }