From 0c70bcb8b0b2346ac20d4f2775ec7b5e70ca9b27 Mon Sep 17 00:00:00 2001 From: davidycchen Date: Wed, 2 Nov 2022 09:42:23 +0800 Subject: [PATCH] dumpstate: correct the touch dumpstate path Bug: 243077990 Bug: 256913819 Test: trigger bugreport. Signed-off-by: davidycchen Change-Id: I0019587c0fcf5f6446405ea5e9e2a447790ee647 --- dumpstate/Dumpstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 79c893ba..7f3cd84d 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -531,7 +531,7 @@ void Dumpstate::dumpThermalSection(int fd) { // Dump items related to touch void Dumpstate::dumpTouchSection(int fd) { - const char stm_cmd_path[4][50] = {"/sys/class/spi_master/spi11/spi11.0", + const char stm_cmd_path[4][50] = {"/sys/class/spi_master/spi20/spi20.0", "/proc/fts/driver_test", "/sys/class/spi_master/spi6/spi6.0", "/proc/fts_ext/driver_test"};