> + if (irq == keys[n].irq) {
> + if (machine_is_neo1973_gta01() &&
> global_inside_suspend
> + && NEO1973_KEY_AUX == n) {
> + /* if you stall inside resume then AUX will
> + * force a panic, which in turn forces a dump
> + * of the pending syslog */
> + int *p = NULL;
> + printk(KERN_ERR "death %d\n", *p);
> + }
I assumed the following patch was gta01 specific but I am not sure anymore.
http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=a1afc307edcd2b46dcd963373d5eef0b21a4617b
It is useful for GTA02 also, right?