From 44c2727949a3858ffdd267f753327994cecbf6bb Mon Sep 17 00:00:00 2001 From: hgchu Date: Fri, 12 Jan 2018 13:22:48 +0900 Subject: [PATCH] scsi: ufs: use link lost interrupt Change-Id: Idd5cf6b68d03cd3756536cf67e2151e7ba575866 Signed-off-by: hgchu --- drivers/scsi/ufs/ufshci.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.20.1