mei: expose hardware power gating state to mei layer
[firefly-linux-kernel-4.4.55.git] / drivers / misc / mei / init.c
index cc604e1d9457f97254d6015f9755d83b05978472..4b1eb37344cbcb4cbd7e5525e362c8c673fca9af 100644 (file)
@@ -341,6 +341,8 @@ void mei_device_init(struct mei_device *dev)
         * 0: Reserved for MEI Bus Message communications
         */
        bitmap_set(dev->host_clients_map, 0, 1);
+
+       dev->pg_event = MEI_PG_EVENT_IDLE;
 }
 EXPORT_SYMBOL_GPL(mei_device_init);