Jean Delvare said the following: > One thing I forgot: > >> > + result = i2c_check_clients(to_i2c_adapter(adapter->dev.parent), addr); >> > + >> > + return result; >> > +} > > As discussed some weeks ago, this isn't actually sufficient. You don't > only need to check the parent segments for address business, you also > need to check all child segments, recursively. If any child segment has > a device using the address in question, then you can't use it. > > This may be more difficult to implement. In particular, you'll have to > pay attention to locking. > :-) This can't happen if we keep the part you commented on in the other mail about probing for client one level above. Then this situation can't arise. -- KR Michael -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html