touch: fts: add mutex to protect offload report

When the release_all_touches and offload_report run at the same time,
it may cause the input report conflict before input sync.

bug: 190460965
Test: flash boot.img and vendor_boot.img.

Signed-off-by: davidycchen <[email protected]>
Change-Id: I35e5d296a762629e64d0851f5336b7de604f8e86
2 files changed
tree: a08636dbcb21179b1813e6504c51ccfd77bb5ac7
  1. fts_lib/
  2. fts.c
  3. fts.h
  4. fts_limits.h
  5. fts_proc.c
  6. Kbuild
  7. Kconfig
  8. Makefile