Use mutex to protect mIsActiveRW variable.

This is to prevent a possible race run between the
PROP_MON_NTF and the call from i2cWrite function.

Also reset the mIsActiveRW flag when a CORE_RESET_NTF is
received.

Bug: 265652865
Test: build pass
Change-Id: I9ddc2a26e148575a82015748698e5dfe165ea901
1 file changed
tree: 97886572141e18c75c35bb25185ff6666c7b2b66
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. aidl/
  5. st21nfc/
  6. Android.bp
  7. LICENSE
  8. METADATA
  9. OWNERS
  10. README.md
README.md

HAL

st21nfc HAL