HID: non-input reports can also be numbered
authorJiri Kosina <jkosina@suse.cz>
Fri, 17 Oct 2008 13:01:15 +0000 (15:01 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:50 +0000 (01:00 +0100)
commitefc7ce18d9037aa947c1aad5eb712ecc47520126
tree71e3874fee5c9018eb2a1f838a444a7877ba5ea8
parentac26fca3e14c8882e382daa7e96ab73e0186cf03
HID: non-input reports can also be numbered

When computing the maximal buffer size needed, we must take into
account that not only input reports can be numbered.

Pointed out in bugzilla #10467

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c