From: Matt Renzelmann Date: Fri, 13 Apr 2012 07:59:40 +0000 (+0000) Subject: ks8851: Fix missing mutex_lock/unlock X-Git-Tag: v3.4-rc5~44^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51c61a2838c33dab7b6659b9a3e008bb1b40bc9b;p=pandora-kernel.git ks8851: Fix missing mutex_lock/unlock Move the ks8851_rdreg16 call above the call to request_irq and cache the result for subsequent repeated use. A spurious interrupt may otherwise cause a crash. Thanks to Stephen Boyd, Flavio Leitner, and Ben Hutchings for feedback. Signed-off-by: Matt Renzelmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed