[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1320849724-1750-1-git-send-email-saaguirre@ti.com>
Date: Wed, 9 Nov 2011 08:42:04 -0600
From: Sergio Aguirre <saaguirre@...com>
To: <linux-kernel@...r.kernel.org>
CC: Samuel Ortiz <samuel.ortiz@...el.com>,
Sergio Aguirre <saaguirre@...com>
Subject: [PATCH] mfd: twl6040: Fix wrong TWL6040_GPO3 bitfield value
The define should be the result of 1 << Bit number.
Bit number for GPOCTL.GPO3 field is 2, which results
in 0x4 value.
Signed-off-by: Sergio Aguirre <saaguirre@...com>
---
include/linux/mfd/twl6040.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index 2463c261..2a7ff16 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -142,7 +142,7 @@
#define TWL6040_GPO1 0x01
#define TWL6040_GPO2 0x02
-#define TWL6040_GPO3 0x03
+#define TWL6040_GPO3 0x04
/* ACCCTL (0x2D) fields */
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists