diff options
author | Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com> | 2012-06-04 21:50:24 -0500 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-09-07 13:05:45 +0800 |
commit | 2821c84bc9703a61673288a15f40607413833c7b (patch) | |
tree | e12696142dbe2d23d5ea6b681d37402b5b067f7c /include | |
parent | 8afa8668c820d2540a072c497d0918ed4e649df7 (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 'include')
-rw-r--r-- | include/linux/remoteproc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index d6cc7b9537d6..43beddccd95b 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -396,13 +396,17 @@ enum rproc_state { /** * enum rproc_err - remote processor errors - * @RPROC_ERR_MMUFAULT: iommmu fault error + * @RPROC_ERR_MMUFAULT: iommu fault error + * @RPROC_ERR_EXCEPTION: generic device exception + * @RPROC_ERR_WATCHDOG: rproc watchdog error * - * Each element of the enum is used as an array index. So that, the value of + * Each element of the enum is used as an array index. So, the value of * the elements should be always something sane. */ enum rproc_err { RPROC_ERR_MMUFAULT = 0, + RPROC_ERR_EXCEPTION = 1, + RPROC_ERR_WATCHDOG = 2, }; /** |