Fixed previous commit

This commit is contained in:
Dimitar Gamishev 2017-11-07 10:16:49 +02:00
parent dd46b25086
commit 94d3b42f56
3 changed files with 3 additions and 3 deletions

@ -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 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_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_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_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_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; 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;

@ -1,5 +1,5 @@
/* /*
********************************************************************************************************* *******************************************************************************************************
* LINUX-KERNEL * LINUX-KERNEL
* AllWinner Linux Platform Develop Kits * AllWinner Linux Platform Develop Kits
* Kernel Module * Kernel Module

@ -66,7 +66,7 @@ typedef enum CPU_WAKEUP_SRC {
/* the wakeup source of assistant cpu: cpus */ /* the wakeup source of assistant cpu: cpus */
CPUS_LOWBATT_SRC = CPUS_WAKEUP_LOWBATT, /* low battery event */ CPUS_LOWBATT_SRC = CPUS_WAKEUP_LOWBATT, /* low battery event */
CPUS_USB_SRC = CPUS_WAKEUP_USB , /* usb insert 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_ASCEND_SRC = CPUS_WAKEUP_ASCEND, /* power key ascend event */
CPUS_DESCEND_SRC = CPUS_WAKEUP_DESCEND, /* power key descend event */ CPUS_DESCEND_SRC = CPUS_WAKEUP_DESCEND, /* power key descend event */
CPUS_SHORT_KEY_SRC = CPUS_WAKEUP_SHORT_KEY,/* power key short press event */ CPUS_SHORT_KEY_SRC = CPUS_WAKEUP_SHORT_KEY,/* power key short press event */