diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-05 10:03:39 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-05 16:41:05 +0100 |
commit | 7d2ab5b90b48fe50435ee8f43ed130ea323be951 (patch) | |
tree | bacd8ca7aa0cc687e808c7a3abc6a61ed41913b8 /tests/pm_rpm.c | |
parent | c3b6d69aa3dd2d1a6c1f2e787670a0aef78f2ea5 (diff) |
lib/pm: Fail gracefully if CONFIG_PM is not built into the kernel
We report the failure from igt_setup_runtime_pm() so that the caller can
decide how they may proceed, so replace the hard assert with the error
propagation.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/pm_rpm.c')
0 files changed, 0 insertions, 0 deletions