Skip to content

Commit 6d17a11

Browse files
Kiwoong Kimmartinkpetersen
authored andcommitted
scsi: ufs: core: Enable link lost interrupt
Link lost is treated as fatal error with commit c99b9b2 ("scsi: ufs: Treat link loss as fatal error"), but the event isn't registered as interrupt source. Enable it. Link: https://lore.kernel.org/r/[email protected] Fixes: c99b9b2 ("scsi: ufs: Treat link loss as fatal error") Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Kiwoong Kim <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 5424930 commit 6d17a11

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

include/ufs/ufshci.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ static inline u32 ufshci_version(u32 major, u32 minor)
135135

136136
#define UFSHCD_UIC_MASK (UIC_COMMAND_COMPL | UFSHCD_UIC_PWR_MASK)
137137

138-
#define UFSHCD_ERROR_MASK (UIC_ERROR |\
139-
DEVICE_FATAL_ERROR |\
140-
CONTROLLER_FATAL_ERROR |\
141-
SYSTEM_BUS_FATAL_ERROR |\
142-
CRYPTO_ENGINE_FATAL_ERROR)
138+
#define UFSHCD_ERROR_MASK (UIC_ERROR | INT_FATAL_ERRORS)
143139

144140
#define INT_FATAL_ERRORS (DEVICE_FATAL_ERROR |\
145141
CONTROLLER_FATAL_ERROR |\

0 commit comments

Comments
 (0)