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:
Nick Chung <nickchung@google.com>
Change-Id: I7544441573f14a75b0d34f9a72c4bc74d6d75e61
Loading
Please sign in to comment