diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-25 16:50:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 14:02:07 -0700 |
commit | 4366dc946c01305cff49b07dabb806d2364f1edb (patch) | |
tree | 0cc9f6a086d47f3b8688f2f8c8ce6d924be97d03 /Documentation/i2c | |
parent | cb929eae78ec0b243dbf58039bce4af354f6020c (diff) | |
download | kernel_samsung_smdk4412-4366dc946c01305cff49b07dabb806d2364f1edb.zip kernel_samsung_smdk4412-4366dc946c01305cff49b07dabb806d2364f1edb.tar.gz kernel_samsung_smdk4412-4366dc946c01305cff49b07dabb806d2364f1edb.tar.bz2 |
[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(-)
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions