From: Panduranga Mallireddy <panduranga_mallire...@ti.com>

For regulator omap4_clk32k used by wlan, set .constraints.always_on to 1.
This regulator should never be disabled.

Signed-off-by: Panduranga Mallireddy <panduranga_mallire...@ti.com>
---
 arch/arm/mach-omap2/twl-common.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
index 2543342..536ad71 100644
--- a/arch/arm/mach-omap2/twl-common.c
+++ b/arch/arm/mach-omap2/twl-common.c
@@ -229,6 +229,7 @@ static struct regulator_init_data omap4_vusb_idata = {
 static struct regulator_init_data omap4_clk32kg_idata = {
        .constraints = {
                .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
+               .always_on                      = true,
        },
 };
 
-- 
1.7.1

_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to