pm_rps: Expand on min and max config testing
authorJeff McGee <jeff.mcgee@intel.com>
Tue, 21 Jan 2014 23:14:31 +0000 (17:14 -0600)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Jan 2014 22:37:50 +0000 (23:37 +0100)
commit4e3b661b480b0a43d9cf45afaf0cae835cb66dcc
tree9b3e42ac850d29afcd3feddde066a929c0b32d05
parent22533b1eb038dbf4d3dc79945b81cefc4aac64be
pm_rps: Expand on min and max config testing

Add a function that methodically varies min and max to exercise
several valid and invalid combinations. Allow the caller to
define what is to be checked between each step.

Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rps.c