goodix: Reset device if storage listing fails

When opening the device, query the stored prints. This should usually
always succeed (and it should be fast). If it fails, then we are very
likely dealing with a corrupted template storage on the device. In that
case, emit the command to clear the storage in order to reset the device
and get it back into a usable state.
This commit is contained in:
Benjamin Berg
2022-06-13 16:05:18 +02:00
committed by Benjamin Berg
parent 42c9003f49
commit 8552290bec
5 changed files with 99 additions and 28 deletions

Binary file not shown.