Re: What's in hid.git for 2.6.30

From: Oliver Neukum
Date: Thu Apr 30 2009 - 19:02:41 EST


Am Freitag, 1. Mai 2009 00:45:51 schrieb Jiri Kosina:
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -1824,6 +1824,9 @@ int hid_check_keys_pressed(struct hid_device *hid)
>         struct hid_input *hidinput;
>         int i;
>  
> +       if (!(hid->claimed & HID_CLAIMED_INPUT))
> +               return 0;
> +

Jiri,

is there a guarantee all keyboards will be claimed as input devices?

Regards
Oliver

--
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/