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: 263719061
Bug: 265652865
Test: build pass
Merged-In: I9ddc2a26e148575a82015748698e5dfe165ea901
Change-Id: I9ddc2a26e148575a82015748698e5dfe165ea901
1 file changed
tree: b3d271b764a08765bf2314ccf52b830fc966d94e
  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