From: Henrik Rydberg Date: Mon, 23 Apr 2012 10:07:03 +0000 (+0200) Subject: HID: Scan the device for group info before adding it X-Git-Tag: v3.5-rc1~138^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734c660931095ae165c0db6ff60558fc4173bfd0;p=pandora-kernel.git HID: Scan the device for group info before adding it In order to allow the report descriptor to influence the hid device properties, one needs to parse the descriptor early, without reference to any driver. Scan the descriptor for group information during device add, before the device has been broadcast to userland. The device modalias will contain group information which can be used to differentiate between modules. For starters, just handle the generic group. Signed-off-by: Henrik Rydberg Acked-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed