diff options
author | weiping zhang <[email protected]> | 2017-12-21 20:40:58 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2018-01-02 09:32:30 -0800 |
commit | 900a163ededfd1458d622781b2af7ea855497c35 (patch) | |
tree | f8df18866bc60a23a5defdc6ba9be8a51ceef582 /lib/netdev-notifier-error-inject.c | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
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 <[email protected]>
Signed-off-by: weiping zhang <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions