About set boot_on for clk32kg regulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kevin,

For panda and blaze, wl12xx sdio card can't be found without set on label in struct omap4_clk32kg_idata,
and after search maillist I found Vishal had posted patch for it.
http://marc.info/?l=linux-omap&m=132017988123957&w=2

But after more investigations, if clk32kg regulator isn't on then sdio bus can't probe wl12xx sdio card, which means it isn't possible to enable regulator in wl12xx driver.
so I set boot_on as true for 32KG regulator as for power reason as follows.
Is it reasonable or not? or is there other solution can fix this issue? thanks.

diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
index 119d5a9..843bade 100644
--- a/arch/arm/mach-omap2/twl-common.c
+++ b/arch/arm/mach-omap2/twl-common.c
@@ -374,6 +374,7 @@ static struct regulator_init_data omap4_vusb_idata = {
static struct regulator_init_data omap4_clk32kg_idata = {
       .constraints = {
               .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
+               .boot_on                = true,
}, };

Regards,
Xiao
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux