Re: What's in hid.git for 2.6.30

From: Jiri Kosina
Date: Thu Apr 30 2009 - 19:09:23 EST


On Fri, 1 May 2009, Oliver Neukum wrote:

> > --- 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;
> > +
> is there a guarantee all keyboards will be claimed as input devices?

Hi Oliver,

do you see any way how hid->inputs could currently be initialized other
than the device being claimed by hid-input?

--
Jiri Kosina
SUSE Labs