Commit cfa93141 authored by Nick Chung's avatar Nick Chung
Browse files

LWIS: Disable interrupt first in device operation



In system suspend callback, clear event states should be moved before
clean up the pending transactions since clearing event states involves
accessing interrupt masks.
The GTNR clean-up transaction turns TRN_A clock off, after that
GTNR align lwis device should not access any register.

We have to do the same thing in ioctl_device_disable and
ioctl_device_reset to avoid this case.

Bug: 190446106
Test: GCA, CTS
Signed-off-by: default avatarNick Chung <nickchung@google.com>
Change-Id: I7544441573f14a75b0d34f9a72c4bc74d6d75e61
parent 3321a536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment