mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
13 lines
349 B
Diff
13 lines
349 B
Diff
|
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);
|
||
|
}
|
||
|
|
||
|
/**
|