scsi: ufs: use link lost interrupt
authorhgchu <hg.chu@samsung.com>
Fri, 12 Jan 2018 04:22:48 +0000 (13:22 +0900)
committerJaeHun Jung <jh0801.jung@samsung.com>
Tue, 8 May 2018 08:20:25 +0000 (17:20 +0900)
Change-Id: Idd5cf6b68d03cd3756536cf67e2151e7ba575866
Signed-off-by: hgchu <hg.chu@samsung.com>
drivers/scsi/ufs/ufshci.h

index 37004df6d79debea539492c631e19e779087e834..095702e50c45d59a725338bf3fb0f3f55f0e50a4 100644 (file)
@@ -145,11 +145,13 @@ enum {
 #define UFSHCD_ERROR_MASK      (UIC_ERROR |\
                                DEVICE_FATAL_ERROR |\
                                CONTROLLER_FATAL_ERROR |\
-                               SYSTEM_BUS_FATAL_ERROR)
+                               SYSTEM_BUS_FATAL_ERROR |\
+                               UIC_LINK_LOST)
 
 #define INT_FATAL_ERRORS       (DEVICE_FATAL_ERROR |\
                                CONTROLLER_FATAL_ERROR |\
-                               SYSTEM_BUS_FATAL_ERROR)
+                               SYSTEM_BUS_FATAL_ERROR |\
+                               UIC_LINK_LOST)
 
 /* HCS - Host Controller Status 30h */
 #define DEVICE_PRESENT                         UFS_BIT(0)