Skip to content

goodix: Reset device if storage listing fails

Benjamin Berg requested to merge benzea/goodix-reset into master

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.

Merge request reports