[Feature][ZXW-76]merged P48U04 base code
Change-Id: Ia14632a24eb4e8ddf720d8f53f2fe3a1b52a0a8e
diff --git a/ap/os/linux/linux-3.4.x/drivers/mfd/zx234290-adc.c b/ap/os/linux/linux-3.4.x/drivers/mfd/zx234290-adc.c
old mode 100644
new mode 100755
index af82c3d..b15d08c
--- a/ap/os/linux/linux-3.4.x/drivers/mfd/zx234290-adc.c
+++ b/ap/os/linux/linux-3.4.x/drivers/mfd/zx234290-adc.c
@@ -354,10 +354,7 @@
int index=0;
int tmpValue=0,totalValue=0;
uint avgValue;
-#ifdef _USE_VEHICLE_DC
- printk("%s adc not support in ap\n",__func__);
- return 0;
-#endif
+
for(index = 0; index < counter; index++)
{
zx234290_adc_read(ADC_CHANNEL_VBAT_ADC, &tmpValue);
@@ -387,10 +384,7 @@
int index=0;
int tmpValue=0,totalValue=0;
uint avgValue;
-#ifdef _USE_VEHICLE_DC
- printk("%s adc not support in ap\n",__func__);
- return 0;
-#endif
+
for(index = 0; index < counter; index++)
{
zx234290_adc_read(ADC_CHANNEL_VADC1, &tmpValue);
@@ -421,10 +415,7 @@
int index=0;
int tmpValue=0,totalValue=0;
uint avgValue;
-#ifdef _USE_VEHICLE_DC
- printk("%s adc not support in ap\n",__func__);
- return 0;
-#endif
+
//wake_lock(&adc_wake_lock);
for(index = 0; index < counter; index++)
{