Loading arch/arm/mach-msm/board-8084-gpiomux.c +18 −0 Original line number Diff line number Diff line Loading @@ -321,6 +321,23 @@ static struct msm_gpiomux_config apq8084_pri_ter_auxpcm_configs[] __initdata = { }, }; static struct gpiomux_setting wlan_en_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_16MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_OUT_HIGH, }; static struct msm_gpiomux_config msm_wlan_configs[] __initdata = { { .gpio = 82, /* WLAN ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &wlan_en_cfg, [GPIOMUX_SUSPENDED] = &wlan_en_cfg, }, }, }; void __init apq8084_init_gpiomux(void) { int rc; Loading @@ -339,4 +356,5 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(apq8084_pri_ter_auxpcm_configs, ARRAY_SIZE(apq8084_pri_ter_auxpcm_configs)); msm_gpiomux_install(msm_hdmi_configs, ARRAY_SIZE(msm_hdmi_configs)); msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); } Loading
arch/arm/mach-msm/board-8084-gpiomux.c +18 −0 Original line number Diff line number Diff line Loading @@ -321,6 +321,23 @@ static struct msm_gpiomux_config apq8084_pri_ter_auxpcm_configs[] __initdata = { }, }; static struct gpiomux_setting wlan_en_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_16MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_OUT_HIGH, }; static struct msm_gpiomux_config msm_wlan_configs[] __initdata = { { .gpio = 82, /* WLAN ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &wlan_en_cfg, [GPIOMUX_SUSPENDED] = &wlan_en_cfg, }, }, }; void __init apq8084_init_gpiomux(void) { int rc; Loading @@ -339,4 +356,5 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(apq8084_pri_ter_auxpcm_configs, ARRAY_SIZE(apq8084_pri_ter_auxpcm_configs)); msm_gpiomux_install(msm_hdmi_configs, ARRAY_SIZE(msm_hdmi_configs)); msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); }