From afed5e4010072eca855238850f522417dcdac8b0 Mon Sep 17 00:00:00 2001 From: Ederson de Souza Date: Wed, 29 Jun 2022 14:54:58 -0700 Subject: [PATCH] soc/xtensa/intel_adsp/tools: Dial back stream reset sleep A full second is too much, and since "Ack local interrupt before processing IPC" patch, it doesn't seem necessary. This whole second wait would break tests that log too much content, as the firmware is already running during the reset - and the host script wouldn't read the contents, thus some of the logs would be overwritten. Signed-off-by: Ederson de Souza --- soc/xtensa/intel_adsp/tools/cavstool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/xtensa/intel_adsp/tools/cavstool.py b/soc/xtensa/intel_adsp/tools/cavstool.py index 847924b0043..cd97d7094eb 100755 --- a/soc/xtensa/intel_adsp/tools/cavstool.py +++ b/soc/xtensa/intel_adsp/tools/cavstool.py @@ -469,7 +469,7 @@ def load_firmware(fw_file): # chromebook) putting the two writes next each other also hangs # the DSP! sd.CTL &= ~2 # clear START - time.sleep(1) + time.sleep(0.1) sd.CTL |= 1 log.info(f"cAVS firmware load complete")