dsp: Reduce apm_ready retry sleep to 50ms

Reduce apm_ready retry sleep to 50ms, so that it will try again to
get the amp state after 50ms instead of 300ms.

Change-Id: Iea92dc3628afdb2b6735951793d160c3d6d48ce6
Signed-off-by: Ritu Sharma <ritushar@codeaurora.org>
This commit is contained in:
Ritu Sharma
2020-08-19 03:07:42 +05:30
committed by Gerrit - the friendly Code Review server
parent b9c15b6953
commit e8a3c1e7ed

View File

@@ -177,7 +177,7 @@ bool spf_core_is_apm_ready(void)
ret = true;
break;
}
usleep_range(300000, 300050);
usleep_range(50000, 50050);
if (!time_after(timeout, jiffies)) {
ret = false;
break;