]> Pileus Git - ~andy/linux/blobdiff - drivers/hid/hid-hyperv.c
Merge branch 'akpm' (Andrew's patch-bomb)
[~andy/linux] / drivers / hid / hid-hyperv.c
index 0c33ae9cf0f0e27549f3fd505e242dbb98b18be2..406632472c1bb038cdf06dae37c7f115f479e94a 100644 (file)
@@ -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);