dumpstate: update the nvt touch path.

Bug: 219602920
Test: TH build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I9f97cef742e16ee357bc5b872180682520602c76
This commit is contained in:
Super Liu 2022-03-23 15:15:38 +08:00 committed by TreeHugger Robot
parent 278c90473b
commit 40429a7aef
2 changed files with 3 additions and 3 deletions

View file

@ -517,7 +517,7 @@ void DumpstateDevice::dumpThermalSection(int fd) {
// Dump items related to touch
void DumpstateDevice::dumpPreTouchSection(int fd) {
const char nvt_spi_path[] = "/sys/devices/virtual/input/nvt_touch";
const char nvt_spi_path[] = "/sys/class/spi_master/spi11/spi11.0/input/nvt_touch";
char cmd[256];
/* NVT touch */