From: Jean Delvare Date: Sun, 10 Aug 2008 20:56:16 +0000 (+0200) Subject: i2c: Check for address business before creating clients X-Git-Tag: v2.6.27-rc3~54^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1159f9e8927f5732c19816a605926bc76c498b2;p=pandora-kernel.git i2c: Check for address business before creating clients We check for address business in i2c_probe_address(), i2c_detect_address() and i2c_new_probed_device(), but this isn't sufficient. Drivers can call i2c_attach_client() and i2c_new_device() on any address, so we must check the address there as well. This fixes bug #11239: http://bugzilla.kernel.org/show_bug.cgi?id=11239 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed