summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-07-17 10:53:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-05 16:36:27 -0700
commitdf060ede29c85fb3c79037342b75e5666fbf1b90 (patch)
tree6d7e387fdd3cbacc42dcd6f2ee96e54ff362a44f /kernel
parent06dcc69217177e10028898abbf29d5cc8a582303 (diff)
mei: don't schedule suspend in pm idle
commit d5d83f8abea13d0b50ee762276c6c900d1946264 upstream. Calling pm_schedule_suspend from the runtime pm idle callback may reschedule existing timer, thus in case of frequent runtime rpm idle call the suspend maybe starved. Instead we call pm_runtime_autosuspend which is checking if the timer is already charged. An example is monitoring device pci config space. Pci config sysfs handlers calls pci_config_pm_runtime_put/get helpers which in turns calls to device idle callback 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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions