Commit ab469df3 authored by Mark M. Hoffman's avatar Mark M. Hoffman Committed by Adrian Bunk

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: default avatarMark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent cec8f39e
...@@ -756,9 +756,9 @@ int i2c_probe(struct i2c_adapter *adapter, ...@@ -756,9 +756,9 @@ int i2c_probe(struct i2c_adapter *adapter,
"parameter for adapter %d, " "parameter for adapter %d, "
"addr 0x%02x\n", adap_id, "addr 0x%02x\n", adap_id,
address_data->ignore[j + 1]); address_data->ignore[j + 1]);
ignore = 1;
break;
} }
ignore = 1;
break;
} }
if (ignore) if (ignore)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment