Bladeren bron

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 jaren geleden
bovenliggende
commit
e8a3c1e7ed
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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;