commit | 371ae84a426d0bb26c093254ad6c71139b812f6e | [log] [tgz] |
---|---|---|
author | Holmes Chou <holmeschou@google.com> | Tue Jun 14 08:55:15 2022 +0000 |
committer | Holmes Chou <holmeschou@google.com> | Wed Jun 15 03:05:16 2022 +0000 |
tree | d4e604f501ef9a7a14335c5cdc552ad9fbafff05 | |
parent | 2f9446124c4b536b4a3c040b3db5b28997c61cc9 [diff] |
LWIS: Should not unlock mutex reg_rw_lock in lwis_interrupt_set_mask In function lwis_interrupt_set_mask(), it unlocks the mutex lwis_dev->reg_rw_lock when lwis_device_single_register_read() failed. But it should not change the lock status that is not it owned. Bug: 235927716 Test: GCA, CTS Signed-off-by: Holmes Chou <holmeschou@google.com> Change-Id: I4887c6ce7d0d5c70b02e4b49317d677a32088c22