Skip to content

Commit 06d0f11

Browse files
committed
check-pm: set the kernel check point before runtime PM support check
runtime PM is not supported on BDW and BYT platforms, so we need to set the kernel check point before the runtime PM support check or the kernel check point will not be properly set up and cause runtime PM check TIMEOUT on unsupported platforms. Signed-off-by: Zhang Keqiao <keqiao.zhang@intel.com>
1 parent c76cb0b commit 06d0f11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-case/check-runtime-pm-status.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ func_check_dsp_status()
5050
}
5151

5252
func_opt_parse_option "$@"
53+
setup_kernel_check_point
54+
5355
tplg=${OPT_VAL['t']}
5456
loop_count=${OPT_VAL['l']}
5557
[[ -z $tplg ]] && die "Miss tplg file to run"
@@ -82,8 +84,6 @@ do
8284

8385
for i in $(seq 1 $loop_count)
8486
do
85-
# set up checkpoint for each iteration
86-
setup_kernel_check_point
8787
dlogi "===== Iteration $i of $loop_count for $pcm ====="
8888
# playback or capture device - check status
8989
dlogc "$cmd -D $dev -r $rate -c $channel -f $fmt $dummy_file -q"

0 commit comments

Comments
 (0)