[PATCH] USB: fix for HID field index
The problem I'm having is that the field index is always returned as 0 when reading struct hiddev_usage_ref and I need something to distinguish the input data as the usage code is the same. I looked through hid-core.c and hiddev.c and hiddev_hid_event is the only place I could see field->index being used. It wasn't being initialized causing the input to always be returned as zero. Signed-off-by: David Fries <dfries@mail.win.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Showing
Please register or sign in to comment