X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-hyperv.c;h=406632472c1bb038cdf06dae37c7f115f479e94a;hb=0c4d0670f6e54f8507c30c01928cc9ff630ca497;hp=0c33ae9cf0f0e27549f3fd505e242dbb98b18be2;hpb=6c073a7ee250118b8be3a2379c96fd7f78382b06;p=~andy%2Flinux diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 0c33ae9cf0f..406632472c1 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c @@ -548,6 +548,7 @@ static int mousevsc_remove(struct hv_device *dev) struct mousevsc_dev *input_dev = hv_get_drvdata(dev); vmbus_close(dev->channel); + hid_hw_stop(input_dev->hid_device); hid_destroy_device(input_dev->hid_device); mousevsc_free_device(input_dev);