Files
Linux/drivers/thunderbolt
Mario Limonciello c4af8e3fec 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: 468c49f447 ("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]>
2023-05-09 09:39:03 +03:00
..
2023-03-29 11:05:05 +03:00
2023-03-14 16:15:45 +02:00