From: Jean Delvare Date: Sun, 25 Sep 2005 14:50:06 +0000 (+0200) Subject: [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK X-Git-Tag: v2.6.15-rc1~732^2^2^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4366dc946c01305cff49b07dabb806d2364f1edb;p=pandora-kernel.git [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK Move the check for SMBUS_QUICK in i2c_probe() after the forced addresses have been handled. This makes it possible for a driver to leave the probed address lists empty, only providing forced addresses, and get i2c_probe to work even if the bus doesn't support SMBUS_QUICK. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) --- Reading git-diff-tree failed