virtio_remoteproc: correct put_device virtio_device.dev
rproc_virtio_dev_release will be called iff virtio_device.dev's reference count drops to 0. Here we just put vdev.dev, and then rproc->dev's cleanup will be done in rproc_virtio_dev_release. Reviewed-by: NCornelia Huck <cohuck@redhat.com> Signed-off-by: Nweiping zhang <zhangweiping@didichuxing.com> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Showing
想要评论请 注册 或 登录