mei: mei-me: resume device in prepare
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 25 Jan 2023 08:26:32 +0000 (00:26 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 27 Jan 2023 20:21:31 +0000 (15:21 -0500)
commit907deab2afc86cf30a53c3a37c2277c984558e84
treeb78ec8931b744d30430cce6ca1424dfb00278d9e
parent220b3376c0781ec46cf86e19b7460e7e1ccf913d
mei: mei-me: resume device in prepare

Asynchronous runtime resume is not possible while the system
is suspending.
The power management subsystem resumes the device only in the
suspend phase, not in the prepare phase.
Force resume device in prepare to allow drivers on mei bus
to communicate in their prepare callbacks.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230125082637.118970-2-alan.previn.teres.alexis@intel.com
drivers/misc/mei/pci-me.c