remoteproc: Further extend the vdev life cycle
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 20 Oct 2016 02:40:08 +0000 (19:40 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Nov 2016 05:52:16 +0000 (21:52 -0800)
commit2b45cef5868a9ad012121f4f7f11c700bfb7f2e4
treec4b1b74c659c5945d440a03ddfecac615417e2a6
parenta863af5d419361d3e657d4880dd3d7c490a8c4ba
remoteproc: Further extend the vdev life cycle

Tie the vdev (and hence vring) life cycle to the resource parsing and
resource cleanup operations, allowing us to safely register and
unregister virtio devices on the go.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c