Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2369df93 authored by Mark M. Hoffman's avatar Mark M. Hoffman Committed by Greg Kroah-Hartman
Browse files

[PATCH] i2c: Fix 'ignore' module parameter handling in i2c-core



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 avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 155dbfd8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -756,10 +756,10 @@ 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;
			}
		}
		if (ignore)
			continue;