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.2.52~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ffb34128a34e3b58332b0fb98e8311f5c0ba08;p=pandora-kernel.git HID: hidraw: put old deallocation mechanism in place commit df0cfd6990347c20ae031f3f34137cba274f1972 upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed