Prechádzať zdrojové kódy

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 <[email protected]>
Ritu Sharma 4 rokov pred
rodič
commit
e8a3c1e7ed
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      dsp/spf-core.c

+ 1 - 1
dsp/spf-core.c

@@ -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;