iPod Classic: fix wake-up from power-off on USB insert
Change-Id: I57897aa1bb98b652bc6c953680bf548648f5915b
This commit is contained in:
parent
9e24d5df1a
commit
a953964167
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ static int idepowered;
|
|||
|
||||
void power_off(void)
|
||||
{
|
||||
pmu_set_wake_condition(0x42); /* USB inserted or EXTON1 */
|
||||
/* USB inserted or EXTON1 */
|
||||
pmu_set_wake_condition(
|
||||
PCF5063X_OOCWAKE_EXTON2 | PCF5063X_OOCWAKE_EXTON1);
|
||||
pmu_enter_standby();
|
||||
|
||||
while(1);
|
||||
|
|
Loading…
Reference in a new issue