From ac7caef32e82f624a8eb9ab24acdaeb609c87d1d Mon Sep 17 00:00:00 2001 From: xbw Date: Fri, 7 Jun 2013 17:02:43 +0800 Subject: [PATCH] board-wifi config error. --- arch/arm/mach-rk30/board-LR097-sdmmc-config.c | 8 ++++---- arch/arm/mach-rk30/board-rk3168-ds1006h-sdmmc-config.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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; -- 2.34.1