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)
commit04bb139a071fef549892718f8965a7c61b1924e0
tree3200b716befdaae434220de06efecb59b5db0f60
parentcfe5ab85634b5fdab2c90249517910ea3df63f6a
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