commit | 8197093497a65829f4da90b3fda0e281da7b27eb | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Fri Mar 17 16:36:59 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Mon Apr 03 16:48:14 2017 +0000 |
tree | a099952c1a719453f9d4ffe56ef5f2dce10b66b1 | |
parent | e98f1a9c5607e13da5fccafd1cd6f5414319e4ea [diff] |
storaged: read emmc health data from sysfs Sysfs data is straightforward so we don't need parsing anymore. Also removed periodical check since data is set only once during driver initialization. Checking at every device boot or storaged restart should be sufficient to monitor long term status change. Test: adb logcat -d -b events | grep storaged_emmc_info Bug: 36228467 Merged-In: I2a181f52c9f19de1e679a3a905aaebafe4d08227 Change-Id: Ic05e353f0af9363f3bcbe793ba0c351082e446ca