mei: me: d0i3: add d0i3 enter/exit state machine
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 2 Aug 2015 19:20:54 +0000 (22:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:33:55 +0000 (17:33 -0700)
commit859ef2ffbfa785d273567467088cc8743f80b5bd
tree67a345519eefcb0724ef40458af70bad45fb81b1
parent63f75232dbb17badc31c3cc6cc1434763d5a6009
mei: me: d0i3: add d0i3 enter/exit state machine

Rework mei power gating state machine to support entry and exit to and
from D0i3 power state.
The choice between legacy and D0i3 routines is conditioned on
d0i3_supported flag.

The patch introduces warning:
drivers/misc/mei/hw-me.c:901:12: warning: ‘mei_me_d0i3_enter’ defined but not used [-Wunused-function]
it will go away in consequent patch

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c
drivers/misc/mei/hbm.h
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw.h