commit | 581baacd33b087e4f7322f42ca8f336f7f0acc4d | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Fri Apr 03 12:00:48 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Mon Apr 06 10:53:41 2015 +0200 |
tree | 1c5790ed73644757e6e7fe4377484f802bffa507 | |
parent | 83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b [diff] |
greybus: hid: Use payload-size to get report size Report size isn't passed as first two bytes of the report according to USB-HID spec. Get it from payload-size. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>