commit | cfd256a3328aac1199a35825b5daf04f5f4fc112 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Fri Apr 22 09:26:44 2011 -0700 |
committer | Doug Zongker <dougz@android.com> | Fri Apr 22 09:33:14 2011 -0700 |
tree | 1b3e4ea2cb7907c9d5d7a2d390e9566ed54d2ea7 | |
parent | 179b2d989532afe14a88d57c3d1533b8cfe76cb9 [diff] |
delay accessing misc partition until its device exists When the misc partition is on an emmc device, recovery can get started and try to access it before the kernel has actually created the device. Try statting the device before reading or writing it; delay up to 10 seconds waiting for the device to exist. Change-Id: Ib9bf6c35fa2c28fc43aa7550aaaffb76c9f6e120