]> git.baikalelectronics.ru Git - kernel.git/commit
HID: core: do not scan reports if the group is already set
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 30 Sep 2014 17:18:24 +0000 (13:18 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 29 Oct 2014 09:49:26 +0000 (10:49 +0100)
commit89b5ef5ab6440178f7c9ec377fa39534ffa18270
tree130dfe587f69dcc6cb5d8cbc5a323f9ef3b0d093
parentb90556fc0aa2d15be4a95f127b5b999c7b544844
HID: core: do not scan reports if the group is already set

This allows the transport layer (I have in mind hid-logitech-dj and uhid)
to set the group before it is added to the hid bus. This way, it can
bypass the hid_scan_report() call, and choose in advance which driver
will handle the newly created hid device.

Signed-off-by: Benjamin Tisssoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c