Re: [PATCH 2/2] Input: sparse-keymap - report KEY_UNKNOWN forunknown scan codes

From: Dmitry Torokhov
Date: Fri Mar 25 2011 - 03:36:05 EST


Hi Seth,

On Wed, Mar 23, 2011 at 04:13:43PM -0500, Seth Forshee wrote:
>
> + /* Report an unknown key event as a debugging aid */
> + unknown_ke.type = KE_KEY;
> + unknown_ke.code = code;
> + unknown_ke.keycode = KEY_UNKNOWN;
> + sparse_keymap_report_entry(dev, &unknown_ke, value, autorelease);

I think it should not depend on autorelease but always automatically
release KEY_UNKNOWN.

Otherwise I think I'll apply both patches.

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/