]> git.baikalelectronics.ru Git - kernel.git/commit
mei: use runtime pm in write and read flow
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 18 Mar 2014 20:52:04 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:20:24 +0000 (19:20 -0400)
commitcc3b4427064df48dd55e8a9b962bfffc892124b2
tree3200b716befdaae434220de06efecb59b5db0f60
parent6585bfacce22014584027ff22c6ed1ae62cabad0
mei: use runtime pm in write and read flow

Take rpm token on operation start to initiate rpm resume if needed.
Mark last busy time, release token and advice rpm framework
to try to autosuspend on operation end.

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