diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2011-12-16 13:46:03 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-16 13:46:03 +0800 |
commit | 3d58de16f65d99636c973eb93dd69e693ca2fa7a (patch) | |
tree | 4f7d85655951a51b1c9096fe27c7dba960bdf707 | |
parent | 1df413b7df32ff25955a71e0daddbd5f00ac7ad4 (diff) |
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@ti.com>
-rw-r--r-- | 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 10350225aca..1967af6c90a 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 /* HSOTRIM (0x2B) fields */ |