diff options
author | Fernando Guzman Lugo <fernando.lugo@ti.com> | 2012-08-30 20:26:13 +0200 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-09-18 11:53:33 +0200 |
commit | 70b85ef83ce3523f709b622d2c4cb31778686338 (patch) | |
tree | eeda85e263ef33f247d97280b367ff3b0f46c1b6 /sound/parisc | |
parent | remoteproc: add rproc_report_crash function to notify rproc crashes (diff) | |
download | linux-70b85ef83ce3523f709b622d2c4cb31778686338.tar.xz linux-70b85ef83ce3523f709b622d2c4cb31778686338.zip |
remoteproc: add actual recovery implementation
Add rproc_trigger_recovery() which takes care of the recovery itself,
by removing, and re-adding, all of the remoteproc's virtio devices.
This resets all virtio users of the remote processor, during which
the remote processor is powered off and on again.
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
[ohad: introduce rproc_add_virtio_devices to avoid 1.copying code 2.anomaly]
[ohad: some white space, naming and commit log changes]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions