From: Ilya Yanok Date: Mon, 1 Aug 2011 21:00:28 +0000 (+0200) Subject: mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver X-Git-Tag: v3.2-rc7~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8653be1afd60d6e8c36139b487e375b70357d9ef;p=pandora-kernel.git mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver Check inuse variable before trying to access twl_map to prevent dereferencing of uninitialized variable. Signed-off-by: Ilya Yanok Cc: stable@kernel.org Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed