driver: virtio: mmio: Remove suspend callback function
Since we need use virtual key as wake-up interrupt, don't install suspend callback for virtio-mmio, otherwise IRQ will be freed and no wakeup interrupt can resume GVM. Change-Id: I111986e4da5f8afde5fd75932f3d393f41fe78b2 Signed-off-by: Zou Shunxiang <quic_shunxian@quicinc.com>
This commit is contained in:
parent
22931d1ab9
commit
aaa00a0200
@ -612,7 +612,8 @@ static int virtio_mmio_restore(struct device *dev)
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops virtio_mmio_pm_ops = {
|
||||
SET_SYSTEM_SLEEP_PM_OPS(virtio_mmio_freeze, virtio_mmio_restore)
|
||||
.freeze = virtio_mmio_freeze,
|
||||
.restore = virtio_mmio_restore,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user