commit | 90588820b7110acf142d17457f0d10cd7cb57a8a | [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:17:35 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: I93256db4b047c76020490e8a3dc76b8ade643291