Skip to content
Commit df0cfd69 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: hidraw: put old deallocation mechanism in place



This basically reverts commit 4fe9f8e2. It causes multiple problems,
namely:

- after rmmod/modprobe cycle of bus driver, the input is not claimed any
  more. This is likely because of misplaced hid_hw_close()
- it causes memory corruption on hidraw_list

As original patch author is not responding to requests to fix his patch,
and the original deallocation mechanism is not exposing any problems, I
am reverting back to it.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8d80da90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment