diff options
author | Mario Limonciello <[email protected]> | 2023-04-24 14:55:54 -0500 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2023-05-09 09:39:03 +0300 |
commit | c4af8e3fecd03b0aedcd38145955605cfebe7e3a (patch) | |
tree | 6bd7da3a64f693d52d49f5033fd26f181f94aadd /lib/mpi/mpiutil.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
thunderbolt: Clear registers properly when auto clear isn't in use
When `QUIRK_AUTO_CLEAR_INT` isn't set, interrupt masking should be
cleared by writing to Interrupt Mask Clear (IMR) and interrupt
status should be cleared properly at shutdown/init.
This fixes an error where interrupts are left enabled during resume
from hibernation with `CONFIG_USB4=y`.
Fixes: 468c49f44759 ("thunderbolt: Disable interrupt auto clear for rings")
Cc: [email protected] # v6.3
Reported-by: Takashi Iwai <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217343
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions