aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ufs/ufshci.h')
-rw-r--r--drivers/scsi/ufs/ufshci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index f1e1b7459107..739ae3aade0e 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -226,8 +226,8 @@ enum {
226 226
227#define MASK_UIC_COMMAND_RESULT 0xFF 227#define MASK_UIC_COMMAND_RESULT 0xFF
228 228
229#define INT_AGGR_COUNTER_THRESHOLD_VALUE (0x1F << 8) 229#define INT_AGGR_COUNTER_THLD_VAL(c) (((c) & 0x1F) << 8)
230#define INT_AGGR_TIMEOUT_VALUE (0x02) 230#define INT_AGGR_TIMEOUT_VAL(t) (((t) & 0xFF) << 0)
231 231
232/* Interrupt disable masks */ 232/* Interrupt disable masks */
233enum { 233enum {