[PATCH] Filter key bouncing for more keys

Nelson Castillo arhuaco at freaks-unidos.net
Thu Jan 1 04:08:28 CET 2009


On Tue, Dec 30, 2008 at 5:50 PM, Andy Green <andy at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> |> +               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?
>
> Yes it was made for GTA02 resume troubles actually.

Please use the attached patch that fixes my wrong assumption.

N.-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter-aux-key-bouncing-for-more-keys.patch
Type: text/x-patch
Size: 5966 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081231/a1385ca9/attachment-0001.bin 


More information about the openmoko-kernel mailing list