gs101: add audio suez devices

ACTION_SPEAKER_IMPEDANCE
ACTION_HARDWARE_FAILED

Bug: 171854614
Test: manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I9c4bbde93edb22e65a092cb4a1f1f2eb9839d926
This commit is contained in:
Roger Fang 2021-04-16 09:52:21 +08:00 committed by TreeHugger Robot
parent 9b811a56e7
commit 1d6c433572

View file

@ -36,6 +36,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c), .UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
.UFSHostResetPath = UFSHC_PATH(err_stats/dev_reset_count), .UFSHostResetPath = UFSHC_PATH(err_stats/dev_reset_count),
.F2fsStatsPath = "/sys/fs/f2fs/", .F2fsStatsPath = "/sys/fs/f2fs/",
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
}; };
int main() { int main() {