]> git.karo-electronics.de Git - linux-beck.git/commit
mei: keep the device awake during reads in chunks
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 13 Oct 2015 12:02:38 +0000 (15:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 04:45:05 +0000 (21:45 -0700)
commit34af19132ed77b51f84274c23cef4ed520542319
treeaf776ab73b4d9a71b9341fd881ea735282dfd69d
parent97ccf63f42721e758bb3cd1aa8967a89d26ed0bb
mei: keep the device awake during reads in chunks

Long messages are read in chunks, to prevent trashing runtime pm between
the reading of the chunks we call pm_runtime_mark_last_busy() on
non-final chunk message as the next chunk of the same message will be
received immediately in the next interrupt with high probablity.

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