commit | f4bb554ee994ce3ecff43f0d6db040c7b1d53a33 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Fri Apr 22 09:26:44 2011 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Wed May 04 11:07:48 2011 -0400 |
tree | 5bfdb16d111ab15cba3fd4466579b17f6a7d2e68 | |
parent | 4762633cf846d17516878303502b056b52353a5d [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: I988442d5701394d7152bfab3c571e7548c364f61