commit | b565a3906a92fe87b162cdcd11268589a36dc6dd | [log] [tgz] |
---|---|---|
author | K. Y. Srinivasan <kys@microsoft.com> | Wed May 16 13:50:13 2012 -0700 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu May 17 10:01:07 2012 +0200 |
tree | e9681f288f60415423bc214a430259e59588b0c1 | |
parent | 16b79bb8ec4f20527525f8c063ae3e4d77388e97 [diff] |
HID: hyperv: Set the hid drvdata correctly Set the hid drvdata prior to invoking hid_add_device() as hid_add_device() expects this state to be set. This bug was introduced in the recent hid changes that were made in 07d9ab4f0e52cb ("HID: hid-hyperv: Do not use hid_parse_report() directly"). Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>