diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2024-02-13 06:25:58 -0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-19 02:45:49 -0400 |
commit | c4e8b5aed7cd18bb8377b6dd461e336688c5d503 (patch) | |
tree | 8c2e2128c1806348f18b36d9c9cf1bf6d1f34129 /drivers/tty | |
parent | 310227f42882c52356b523e2f4e11690eebcd2ab (diff) | |
download | linux-stable-c4e8b5aed7cd18bb8377b6dd461e336688c5d503.tar.gz linux-stable-c4e8b5aed7cd18bb8377b6dd461e336688c5d503.tar.bz2 linux-stable-c4e8b5aed7cd18bb8377b6dd461e336688c5d503.zip |
vdpa: skip suspend/resume ops if not DRIVER_OK
If a vdpa device is not in state DRIVER_OK, then there is no driver state
to preserve, so no need to call the suspend and resume driver ops.
Suggested-by: Eugenio Perez Martin <eperezma@redhat.com>"
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Message-Id: <1707834358-165470-1-git-send-email-steven.sistare@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eugenio PĂ©rez <eperezma@redhat.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions