tests/pm_pc8: try harder to reach PC8+ residencies
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 21 Nov 2013 19:32:42 +0000 (17:32 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 21 Nov 2013 19:36:57 +0000 (17:36 -0200)
commit78227101e27471b81af69b54e2de203678243338
tree56bd193f29fe966bd95b74955ee1b132f36cdebf
parente9363973b1fd973f562c101a58354e05ea2b48e4
tests/pm_pc8: try harder to reach PC8+ residencies

If we want to actually reach PC8+ states, we need to properly
configure all the devices on the system to allow this. This function
will try to setup the things we know we need, but won't scream in case
anything fails: we don't know which devices are present on your
machine, so we can't really expect anything, just try to help with the
more common problems.

Another reason for this commit is that I got tired of having to
readjust the runtime PM policies every time I reboot my machine.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tests/pm_pc8.c