From: Michel JAOUEN <[email protected]>

This patch ensures the initialisation masks for AB9540_REGUSYSCLKREQVALID1
and AB9540_REGUSYSCLKREQVALID1 are correctly defined.

Signed-off-by: Alexandre Torgue <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Michel JAOUEN <[email protected]>
Tested-by: Michel JAOUEN <[email protected]>
Tested-by: Philippe LANGLAIS <[email protected]>
---
 drivers/regulator/ab8500.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index ae2d755..0dfb4e5 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -1995,13 +1995,13 @@ static struct ab8500_reg_init ab9540_reg_init[] = {
         * ...
         * 0x80, SysClkReq8Valid1
         */
-       REG_INIT(AB9540_REGUSYSCLKREQVALID1,    0x03, 0x0f, 0xfe),
+       REG_INIT(AB9540_REGUSYSCLKREQVALID1,    0x03, 0x0f, 0xff),
        /*
         * 0x02, SysClkReq2Valid2
         * ...
         * 0x80, SysClkReq8Valid2
         */
-       REG_INIT(AB9540_REGUSYSCLKREQVALID2,    0x03, 0x10, 0xfe),
+       REG_INIT(AB9540_REGUSYSCLKREQVALID2,    0x03, 0x10, 0xff),
        /*
         * 0x01, Vaux4SwHPReqValid
         * 0x02, Vaux4HwHPReq2Valid
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to