commit | 3d50715f62f0b9318dc3cfd40927cb7d8e6b3dae | [log] [tgz] |
---|---|---|
author | Sravan Kumar Ambapuram <asravan@codeaurora.org> | Tue Feb 25 14:17:23 2014 +0530 |
committer | Sravan Kumar Ambapuram <asravan@codeaurora.org> | Wed Feb 26 13:10:57 2014 +0530 |
tree | 31f49cd288959e8f20ae086e9447efbb6102a661 | |
parent | 83165d009ac2b5536deac4c701a79ccbbc16c242 [diff] |
freezer: replace msleep with usleep_delay for sleep time of <20mS usleep_delay() works more accurately for sleep time of <20mS. All tasks can easily be frozen in under 10 ms, switch to using an initial 1 ms sleep followed by exponential backoff until 8 ms. Change-Id: Id932d7dbefe9c59eded33aa87cdb3cb8b581efa2 Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>