]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c: Hide probe errors caused by ACPI resource conflicts
authorJean Delvare <khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:45 +0000 (22:53 +0200)
committerJean Delvare <khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:45 +0000 (22:53 +0200)
commit18669eabde2ff5fc446e72e043f0539059763438
tree7635908abd3fe90095133abb00fb41812a2a260e
parent03f1805ad0ce5aae02bfe40c29b230abb63179ac
i2c: Hide probe errors caused by ACPI resource conflicts

When an ACPI resource conflict is detected, error messages are already
printed by ACPI. There's no point in causing the driver core to print
more error messages, so return one of the error codes for which no
message is printed.

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

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-amd756.c
drivers/i2c/busses/i2c-amd8111.c
drivers/i2c/busses/i2c-i801.c
drivers/i2c/busses/i2c-isch.c
drivers/i2c/busses/i2c-piix4.c
drivers/i2c/busses/i2c-sis96x.c
drivers/i2c/busses/i2c-viapro.c