Fixed previous commit
This commit is contained in:
parent
dd46b25086
commit
94d3b42f56
@ -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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
*********************************************************************************************************
|
||||
*******************************************************************************************************
|
||||
* LINUX-KERNEL
|
||||
* AllWinner Linux Platform Develop Kits
|
||||
* Kernel Module
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user