Skip to content
Commit b565a390 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Jiri Kosina
Browse files

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 07d9ab4f ("HID: hid-hyperv: Do not use
hid_parse_report() directly").

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 16b79bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment