From: hwg Date: Thu, 15 Nov 2012 12:53:49 +0000 (+0800) Subject: wifi: add rk29sdk_wifi_bt_gpio_control_init for usb wifi X-Git-Tag: firefly_0821_release~8214 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7126d5f0d9e48a579acbc662d4626fdb10da3604;p=firefly-linux-kernel-4.4.55.git wifi: add rk29sdk_wifi_bt_gpio_control_init for usb wifi --- diff --git a/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c b/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c index 7cedb18c1a4e..af73f9a1c888 100755 --- a/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c +++ b/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c @@ -361,7 +361,6 @@ static int rk29sdk_wifi_status_register(void (*callback)(int card_present, void #if defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) || defined(CONFIG_RT5370) static int __init rk29sdk_wifi_bt_gpio_control_init(void) { - return 0; if (gpio_request(RK30SDK_WIFI_GPIO_POWER_N, "wifi_power")) { pr_info("%s: request wifi power gpio failed\n", __func__); return -1;