diff options
author | Mark M. Hoffman <mhoffman@lightlink.com> | 2006-09-22 02:22:54 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-09-22 02:22:54 +0200 |
commit | ab469df3639caa59abac80bdfe2d863cc74eb3eb (patch) | |
tree | 7860d9419ec8ff1ce1fee6fe90f2666b74aff6a8 | |
parent | cec8f39e59c4b40b4e40a3ad653ca0d42178d2e2 (diff) |
I2C: fix 'ignore' module parameter handling
This patch fixes a bug in the handling of 'ignore' module parameters of I2C
client drivers.
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | drivers/i2c/i2c-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 1a2c9ab5d9e..62d7c7bdc8c 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -756,9 +756,9 @@ int i2c_probe(struct i2c_adapter *adapter, "parameter for adapter %d, " "addr 0x%02x\n", adap_id, address_data->ignore[j + 1]); + ignore = 1; + break; } - ignore = 1; - break; } if (ignore) continue; |