summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2016-07-13 09:47:22 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-08 19:25:31 +0800
commite0e1cade777196cc86820fca23c4e8847b6fc183 (patch)
treef56399376ba3b6e6da49109a69004707fed1865c /include
parent89ce1fd0a4af226705cef22bb0541a669a1eb9c1 (diff)
MLK-12928-22: mfd: pf1550: correct VMINSYS_MASK define
correct VMINSYS_MASK and _CNFG_REGTEMP_MASK define for regmap Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/pf1550.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/pf1550.h b/include/linux/mfd/pf1550.h
index 7e7a7d92b08f..7d0a13e1144a 100644
--- a/include/linux/mfd/pf1550.h
+++ b/include/linux/mfd/pf1550.h
@@ -156,9 +156,9 @@ enum pf1550_pmic_reg {
#define PF1550_CHARG_REG_BATT_REG_CHGCV_MASK 0x3f
#define PF1550_CHARG_REG_BATT_REG_VMINSYS_SHIFT 6
-#define PF1550_CHARG_REG_BATT_REG_VMINSYS_MASK 0x3
+#define PF1550_CHARG_REG_BATT_REG_VMINSYS_MASK (0x3 << 6)
#define PF1550_CHARG_REG_THM_REG_CNFG_REGTEMP_SHIFT 2
-#define PF1550_CHARG_REG_THM_REG_CNFG_REGTEMP_MASK 0x3
+#define PF1550_CHARG_REG_THM_REG_CNFG_REGTEMP_MASK (0x3 << 2)
#define PMIC_IRQ_SW1_LS BIT(0)
#define PMIC_IRQ_SW2_LS BIT(1)