mei: request autosuspend after sending rx flow control
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 26 May 2021 19:33:34 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 06:23:29 +0000 (08:23 +0200)
commit8fff0b5324e64f4840e092d108c1383d76454d0c
tree91be06904f4c5d1f531709c0757e278968b58042
parent7889c70e6173ef358f3cd7578db127a489035a42
mei: request autosuspend after sending rx flow control

commit bbf0a94744edfeee298e4a9ab6fd694d639a5cdf upstream.

A rx flow control waiting in the control queue may block autosuspend.
Re-request autosuspend after flow control been sent to unblock
the transition to the low power state.

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