]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK
authorJean Delvare <khali@linux-fr.org>
Sun, 25 Sep 2005 14:50:06 +0000 (16:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:07 +0000 (14:02 -0700)
commit2e067d7303e94972c0febf27388298a546e8945b
tree0cc9f6a086d47f3b8688f2f8c8ce6d924be97d03
parent75febe7fa609b6c1a6c7f6879c63d504651967b7
[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 <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/i2c/i2c-core.c |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
drivers/i2c/i2c-core.c