tests/pm_pc8: add support for runtime PM
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 12 Nov 2013 15:24:38 +0000 (13:24 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 14 Nov 2013 21:59:09 +0000 (19:59 -0200)
commita4e96a95ca6468a7ece9fff1c8e1949691439ed4
tree216178c3a1db7938a29201a86bb78b7e9acb491c
parente39f2dbf98a637fffcc0af98ff54ee296738b0ad
tests/pm_pc8: add support for runtime PM

We try to detect if we have runtime PM or if we just have PC8. In case
there's runtime PM, the functions that wait will wait for the runtime
PM status reported by the sysfs file instead of waiting for PC8
residencies to move.

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