From bced1543b8889689afa1077618232e972ebacc42 Mon Sep 17 00:00:00 2001 From: Zhang Keqiao Date: Thu, 22 Apr 2021 17:51:09 +0800 Subject: [PATCH] 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 --- test-case/check-runtime-pm-status.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-case/check-runtime-pm-status.sh b/test-case/check-runtime-pm-status.sh index 6bfad273..fa3efff9 100755 --- a/test-case/check-runtime-pm-status.sh +++ b/test-case/check-runtime-pm-status.sh @@ -50,6 +50,8 @@ func_check_dsp_status() } func_opt_parse_option "$@" +setup_kernel_check_point + tplg=${OPT_VAL['t']} loop_count=${OPT_VAL['l']} [[ -z $tplg ]] && die "Miss tplg file to run"