summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSubramaniam Chanderashekarapuram <subramaniam.ca@ti.com>2012-06-04 21:50:24 -0500
committerXavier Boudet <x-boudet@ti.com>2012-08-10 13:22:59 +0200
commit696d87e55dcdc51592806e700956095eb49394c6 (patch)
treee496df95584948a371eadea818344873010d2b16 /drivers
parentb293aa8426e498978eb2e3db229b4507d96c888a (diff)
remoteproc: introduce error types for watchdog and device exception
This patch introduces two new error types for watchdog and device exception. Change-Id: Iad3aeb887427b43554bf6f83c17b600eceee0b17 Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/remoteproc/remoteproc_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
index 44d27e4510bc..0583123b992d 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -78,6 +78,8 @@ static unsigned int dev_index;
static const char * const rproc_err_names[] = {
[RPROC_ERR_MMUFAULT] = "mmufault",
+ [RPROC_ERR_EXCEPTION] = "device exception",
+ [RPROC_ERR_WATCHDOG] = "watchdog fired",
};
static int rproc_resume(struct device *dev)