From: Grant Likely Date: Sat, 9 Feb 2013 09:41:49 +0000 (+0000) Subject: gpiolib: Fix locking on gpio debugfs files X-Git-Tag: v3.9-rc1~76^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362432aed5e5b497a8cf7b20c268ba71df93c045;p=pandora-kernel.git gpiolib: Fix locking on gpio debugfs files The debugfs files really need to hold the gpiolib spinlock before accessing the list. Otherwise chip addition/removal will cause an oops. Cc: Alexandre Courbot Cc: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed