From: Jiri Kosina Date: Thu, 1 Nov 2012 10:33:26 +0000 (+0100) Subject: HID: hidraw: put old deallocation mechanism in place X-Git-Tag: v3.7-rc5~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0cfd6990347c20ae031f3f34137cba274f1972;p=pandora-kernel.git HID: hidraw: put old deallocation mechanism in place This basically reverts commit 4fe9f8e203fda. 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: Jiri Kosina --- Reading git-diff-tree failed