summaryrefslogtreecommitdiff
path: root/drivers/mxc/pmic/core
diff options
context:
space:
mode:
authorTodd Doucet <todd.doucet@timesys.com>2010-02-18 12:38:44 -0500
committerTodd Doucet <todd.doucet@timesys.com>2010-02-18 12:38:44 -0500
commit793deae7244b1c3d3dc9ad9437b692655e04d1c1 (patch)
treeb49aa81dd8bdc377dc64aee55c0ebca1e522b34e /drivers/mxc/pmic/core
parent7e407c346b8c197f73e88aea4c6ca3de19710aa1 (diff)
Intermediate alpha release with partially working touchscreen for special customer.2.6.28-ccwmx51js-201002181258
Diffstat (limited to 'drivers/mxc/pmic/core')
-rw-r--r--drivers/mxc/pmic/core/Makefile3
-rw-r--r--drivers/mxc/pmic/core/mc13892.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mxc/pmic/core/Makefile b/drivers/mxc/pmic/core/Makefile
index e746702bc569..44eb70e5973a 100644
--- a/drivers/mxc/pmic/core/Makefile
+++ b/drivers/mxc/pmic/core/Makefile
@@ -1,3 +1,6 @@
+CFLAGS_mc13892.o := -DDEBUG
+
+
#
# Makefile for the PMIC core drivers.
#
diff --git a/drivers/mxc/pmic/core/mc13892.c b/drivers/mxc/pmic/core/mc13892.c
index 34ceec59221e..4b900d578b51 100644
--- a/drivers/mxc/pmic/core/mc13892.c
+++ b/drivers/mxc/pmic/core/mc13892.c
@@ -110,7 +110,6 @@ int pmic_read(int reg_num, unsigned int *reg_val)
return PMIC_ERROR;
frame |= reg_num << MXC_PMIC_REG_NUM_SHIFT;
-
ret = spi_rw(pmic_drv_data.spi, (u8 *) &frame, 1);
*reg_val = frame & MXC_PMIC_FRAME_MASK;