diff options
author | weiping zhang <zhangweiping@didichuxing.com> | 2017-12-21 15:40:58 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-01-02 20:32:30 +0300 |
commit | 900a163ededfd1458d622781b2af7ea855497c35 (patch) | |
tree | f8df18866bc60a23a5defdc6ba9be8a51ceef582 /include/linux | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | linux-900a163ededfd1458d622781b2af7ea855497c35.tar.xz |
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: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions