Skip to content
Commit c1159f9e authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

i2c: Check for address business before creating clients

We check for address business in i2c_probe_address(),
i2c_detect_address() and i2c_new_probed_device(), but this isn't
sufficient. Drivers can call i2c_attach_client() and
i2c_new_device() on any address, so we must check the address there
as well.

This fixes bug #11239:
http://bugzilla.kernel.org/show_bug.cgi?id=11239



Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 8d24f8dc
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