diff options
author | Alon Levy <alevy@redhat.com> | 2011-04-14 17:04:34 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-04-14 17:04:34 +0300 |
commit | 9f8931e5c34f27138c815ce1b7ce69c8f6d7c324 (patch) | |
tree | b9f003f91fb48f13b66de59dae3ae98e2fb8edf6 | |
parent | 199145a74a5bc3aa2ef7c5570467e680ef107f73 (diff) |
fix wrong prints on SetPowerState
-rw-r--r-- | miniport/qxl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/miniport/qxl.c b/miniport/qxl.c index f348cee..2aeaa46 100644 --- a/miniport/qxl.c +++ b/miniport/qxl.c @@ -774,14 +774,15 @@ VP_STATUS SetPowerState(PVOID dev_extension, case VideoPowerShutdown: case VideoPowerHibernate: DEBUG_PRINT((0, "%s: OK\n", __FUNCTION__)); - return NO_ERROR; + break; + default: + DEBUG_PRINT((0, "%s: unexpected power state\n", __FUNCTION__)); } break; default: DEBUG_PRINT((0, "%s: unexpected hw_id %lu\n", __FUNCTION__, hw_id)); } - DEBUG_PRINT((0, "%s: ERROR_DEVICE_REINITIALIZATION_NEEDED\n", __FUNCTION__)); - return ERROR_DEVICE_REINITIALIZATION_NEEDED; + return NO_ERROR; } VP_STATUS GetChildDescriptor(IN PVOID dev_extension, |