summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_pme2/pme2_ctrl.c
diff options
context:
space:
mode:
authorJeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>2014-04-28 20:52:58 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-04-30 12:28:21 (GMT)
commitd029aed1abb9a62bca68fea3f46b670c872d79a6 (patch)
treed985e41af215c8e3bffdb595f07fe93bb2c4c584 /drivers/staging/fsl_pme2/pme2_ctrl.c
parent2c5a79c9380f82c3b17fd95b052618050f2cbc1d (diff)
downloadlinux-fsl-qoriq-d029aed1abb9a62bca68fea3f46b670c872d79a6.tar.xz
fsl_pme: Incorrect interrupt condition mask for DBE
The double bit error (DBE) condition mask is incorrect. Both the enable register and the status checking will be incorrect. The error will go undetected by sw without this fix. Signed-off-by: Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com> Change-Id: I48350df827069169c71122eaaa7b77009cb2f08f Reviewed-on: http://git.am.freescale.net:8181/11634 Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_pme2/pme2_ctrl.c')
-rw-r--r--drivers/staging/fsl_pme2/pme2_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl_pme2/pme2_ctrl.c b/drivers/staging/fsl_pme2/pme2_ctrl.c
index 9c7cce9..388162b 100644
--- a/drivers/staging/fsl_pme2/pme2_ctrl.c
+++ b/drivers/staging/fsl_pme2/pme2_ctrl.c
@@ -232,7 +232,7 @@ void accumulator_update_interval(u32 interval);
static DECLARE_DELAYED_WORK(accumulator_work, accumulator_update);
u32 pme_stat_interval = CONFIG_FSL_PME2_STAT_ACCUMULATOR_UPDATE_INTERVAL;
#define PME_SBE_ERR 0x01000000
-#define PME_DBE_ERR 0x00080000
+#define PME_DBE_ERR 0x00800000
#define PME_PME_ERR 0x00000100
#define PME_ALL_ERR (PME_SBE_ERR | PME_DBE_ERR | PME_PME_ERR)