From: xbw Date: Fri, 7 Jun 2013 09:02:43 +0000 (+0800) Subject: board-wifi config error. X-Git-Tag: firefly_0821_release~6992 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ac7caef32e82f624a8eb9ab24acdaeb609c87d1d;p=firefly-linux-kernel-4.4.55.git board-wifi config error. --- diff --git a/arch/arm/mach-rk30/board-LR097-sdmmc-config.c b/arch/arm/mach-rk30/board-LR097-sdmmc-config.c index 8a1c586048f5..371dfce156e6 100644 --- a/arch/arm/mach-rk30/board-LR097-sdmmc-config.c +++ b/arch/arm/mach-rk30/board-LR097-sdmmc-config.c @@ -125,15 +125,15 @@ double rk31sdk_get_sdio_wifi_voltage(void) ** Please tell me how much wifi-module uses voltage in your project. ******************************************************************************/ #if defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) - voltage = 1.8 ; //power 1.8V + voltage = 1800 ; //power 1.8V #elif defined(CONFIG_MT5931_MT6622)||defined(CONFIG_MT5931)||defined(CONFIG_MT6620) - voltage = 1.8 ; //power 2.8V + voltage = 1800 ; //power 2.8V #elif defined(CONFIG_RDA5990)||defined(CONFIG_RTL8723AS) - voltage = 3.3 ; //power 3.3V + voltage = 3300 ; //power 3.3V #else //default, sdio use 3.0V - voltage = 3.0 ; //power 3.0V + voltage = 3000 ; //power 3.0V #endif return voltage; diff --git a/arch/arm/mach-rk30/board-rk3168-ds1006h-sdmmc-config.c b/arch/arm/mach-rk30/board-rk3168-ds1006h-sdmmc-config.c index e399723c457b..658bfc9e0ca0 100644 --- a/arch/arm/mach-rk30/board-rk3168-ds1006h-sdmmc-config.c +++ b/arch/arm/mach-rk30/board-rk3168-ds1006h-sdmmc-config.c @@ -125,15 +125,15 @@ double rk31sdk_get_sdio_wifi_voltage(void) ** Please tell me how much wifi-module uses voltage in your project. ******************************************************************************/ #if defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) - voltage = 1.8 ; //power 1.8V + voltage = 1800 ; //power 1.8V #elif defined(CONFIG_MT5931_MT6622)||defined(CONFIG_MT5931)||defined(CONFIG_MT6620) - voltage = 2.8 ; //power 2.8V + voltage = 2800 ; //power 2.8V #elif defined(CONFIG_RDA5990)||defined(CONFIG_RTL8723AS) - voltage = 3.3 ; //power 3.3V + voltage = 3300 ; //power 3.3V #else //default, sdio use 3.0V - voltage = 3.0 ; //power 3.0V + voltage = 3000 ; //power 3.0V #endif return voltage;