]> git.baikalelectronics.ru Git - kernel.git/commit
mei: me: set internal pg flag to off on hardware reset
authorAlexander Usyskin <alexander.usyskin@intel.com>
Mon, 6 Jun 2022 14:42:23 +0000 (17:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 13:39:24 +0000 (15:39 +0200)
commit489454dd26f8e690930eef9ae404152d924c33a8
tree6f2e79339a307b023fce2935ce9cd2ea1b55cf79
parentc07f1d4ca5ee6c522bd407371a2b68b436864d4b
mei: me: set internal pg flag to off on hardware reset

Link reset flow is always performed in the runtime resumed state.
The internal PG state may be left as ON after the suspend
and will not be updated upon the resume if the D0i3 is not supported.

Ensure that the internal PG state is set to the right value on the flow
entrance in case the firmware does not support D0i3.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20220606144225.282375-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw-me.c