]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/remoteproc.git/commit
Revert "remoteproc: Remove depricated crash completion"
authorSuman Anna <s-anna@ti.com>
Wed, 6 Mar 2019 20:16:38 +0000 (14:16 -0600)
committerSuman Anna <s-anna@ti.com>
Sun, 10 Mar 2019 21:33:15 +0000 (16:33 -0500)
commit7517114b4facdc9ca80e27c30dfc6ef8a1f165f4
treefa4ed4dd4c5981600b334b3520770fbc333869c4
parentcb6320f7002078445ba5cebb5cdefca75136e052
Revert "remoteproc: Remove depricated crash completion"

This reverts commit b26210cda63564a7478486faaea713f6ea965633.

The commit b26210cda635 ("remoteproc: Remove depricated crash completion")
has dropped the crash_comp completion variable as it was not needed after
the rproc_trigger_recovery() function was modified to leverage rproc_stop()
and rproc_start() functions in commit 7e83cab824a8 ("remoteproc: Modify
recovery path to use rproc_{start,stop}()"). These new functions execute
only a portion of the previous functions, and break the error recovery
on OMAP remoteproc devices.

Reintroduce the crash completion variable by reverting the above commit
in preparation for reverting the error recovery logic to not use the
rproc_start() and rproc_stop() functions.

Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/remoteproc_core.c
include/linux/remoteproc.h