From: hgchu Date: Fri, 12 Jan 2018 04:22:48 +0000 (+0900) Subject: scsi: ufs: use link lost interrupt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44c2727949a3858ffdd267f753327994cecbf6bb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git scsi: ufs: use link lost interrupt Change-Id: Idd5cf6b68d03cd3756536cf67e2151e7ba575866 Signed-off-by: hgchu --- diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index 37004df6d79d..095702e50c45 100644 --- a/drivers/scsi/ufs/ufshci.h +++ b/drivers/scsi/ufs/ufshci.h @@ -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)