From: Fernando Guzman Lugo Date: Thu, 30 Aug 2012 18:26:13 +0000 (-0500) Subject: remoteproc: add actual recovery implementation X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~18^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70b85ef83ce3523f709b622d2c4cb31778686338;p=pandora-kernel.git 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 [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 --- Reading git-diff-tree failed