summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJohan Palsson <johan.palsson@stericsson.com>2011-03-08 13:20:04 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:44 +0200
commit30516c408422c28eaee2021700f6b4fbb82e1d89 (patch)
tree07ce6edf9e545d52c89b180ce9dd073c004b7495 /drivers/mfd
parent76340aa63fa7f5214f4f97eb2ae393c2364cc0fb (diff)
mfd: ab8500_gpadc: Corrected the name and bitmask for BTempPullUp
The bitmask for enabling the BatTemp pull-up was wrong and is corrected. The name is also changed to be inline with the AB8500 register description ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie697c3d5958938dd0c741f63f7424980367f7abc Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17830 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ab8500-gpadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c
index 301510b5824..4b16f50dd1c 100644
--- a/drivers/mfd/ab8500-gpadc.c
+++ b/drivers/mfd/ab8500-gpadc.c
@@ -57,7 +57,7 @@
#define SW_AVG_16 0x60
#define ADC_SW_CONV 0x04
#define EN_ICHAR 0x80
-#define BATTEMP_PULL_UP 0x04
+#define BTEMP_PULL_UP 0x08
#define EN_BUF 0x40
#define DIS_ZERO 0x00
#define GPADC_BUSY 0x01