genode/repos/dde_linux/patches/usb_hid_hid.patch

13 lines
349 B
Diff
Raw Normal View History

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index c2560aa..0a45da0 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2179,6 +2180,7 @@ static void hid_remove_device(struct hid_device *hdev)
kfree(hdev->dev_rdesc);
hdev->dev_rdesc = NULL;
hdev->dev_rsize = 0;
+ mutex_destroy(&hdev->ll_open_lock);
}
/**