diff --git a/SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/aw_pm.c b/SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/aw_pm.c index 0c6eabce..41ae0a2f 100755 --- a/SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/aw_pm.c +++ b/SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/aw_pm.c @@ -146,7 +146,7 @@ unsigned int parse_wakeup_event(char *s, unsigned int size, unsigned int event, case CPU0_WAKEUP_KEY : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPU0_WAKEUP_KEY ", CPU0_WAKEUP_KEY ); count++; break; case CPUS_WAKEUP_LOWBATT : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_LOWBATT ", CPUS_WAKEUP_LOWBATT ); count++; break; case CPUS_WAKEUP_USB : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_USB ", CPUS_WAKEUP_USB ); count++; break; - case CPUS_WAKEUP_AC : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_AC ", CPUS_WAKEUP_AC ); count++; break; + //case CPUS_WAKEUP_AC : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_AC ", CPUS_WAKEUP_AC ); count++; break; case CPUS_WAKEUP_ASCEND : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_ASCEND ", CPUS_WAKEUP_ASCEND ); count++; break; case CPUS_WAKEUP_DESCEND : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_DESCEND ", CPUS_WAKEUP_DESCEND ); count++; break; case CPUS_WAKEUP_SHORT_KEY : uk_printf(s, end - s, "%-36s bit 0x%x \t ", "CPUS_WAKEUP_SHORT_KEY", CPUS_WAKEUP_SHORT_KEY); count++; break; diff --git a/SOFTWARE/A64-TERES/linux-a64/include/linux/power/aw_pm.h b/SOFTWARE/A64-TERES/linux-a64/include/linux/power/aw_pm.h index 146ae5ef..0f68d56a 100755 --- a/SOFTWARE/A64-TERES/linux-a64/include/linux/power/aw_pm.h +++ b/SOFTWARE/A64-TERES/linux-a64/include/linux/power/aw_pm.h @@ -1,5 +1,5 @@ /* -********************************************************************************************************* +******************************************************************************************************* * LINUX-KERNEL * AllWinner Linux Platform Develop Kits * Kernel Module diff --git a/SOFTWARE/A64-TERES/linux-a64/include/linux/power/scenelock.h b/SOFTWARE/A64-TERES/linux-a64/include/linux/power/scenelock.h index 999ae8d1..0a15212c 100755 --- a/SOFTWARE/A64-TERES/linux-a64/include/linux/power/scenelock.h +++ b/SOFTWARE/A64-TERES/linux-a64/include/linux/power/scenelock.h @@ -66,7 +66,7 @@ typedef enum CPU_WAKEUP_SRC { /* the wakeup source of assistant cpu: cpus */ CPUS_LOWBATT_SRC = CPUS_WAKEUP_LOWBATT, /* low battery event */ CPUS_USB_SRC = CPUS_WAKEUP_USB , /* usb insert event */ - CPUS_AC_SRC = CPUS_WAKEUP_AC, /* charger insert event */ +/* CPUS_AC_SRC = CPUS_WAKEUP_AC,*/ /* charger insert event */ CPUS_ASCEND_SRC = CPUS_WAKEUP_ASCEND, /* power key ascend event */ CPUS_DESCEND_SRC = CPUS_WAKEUP_DESCEND, /* power key descend event */ CPUS_SHORT_KEY_SRC = CPUS_WAKEUP_SHORT_KEY,/* power key short press event */