Date:2010-09-10 19:17:33 (12 years 24 days ago)
Author:Maarten ter Huurne
Commit:6a6c2205c665c60f18d36f5bac5084195a350683
Message:MIPS: JZ4740: A320: Declare power slider as wakeup button.

This instructs the gpio-keys driver to leave the interrupt for this key on in suspend mode.
That way, the key can be used to wake up from sleep mode.
Files: arch/mips/jz4740/board-a320.c (1 diff)

Change Details

arch/mips/jz4740/board-a320.c
318318        .gpio = JZ_GPIO_PORTD(29),
319319        .active_low = 1,
320320        .code = KEY_POWER,
321        .wakeup = 1,
321322    },
322323    /* POWER hold */ {
323324        .gpio = JZ_GPIO_PORTD(22),

Archive Download the corresponding diff file



interactive