commit | fcf53a1ed4225c1f23997ef02f2770a39e73c515 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Jan 12 20:32:03 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jan 25 17:24:45 2012 -0800 |
tree | 629873ccdc2656feb505627ce4df04faaa34fd5c | |
parent | 8aee2e296d19910d8ad4c676970f0055abc5b5e5 [diff] |
i2c: Fix error value returned by several bus drivers commit 7c1f59c9d5caf3a84f35549b5d58f3c055a68da5 upstream. When adding checks for ACPI resource conflicts to many bus drivers, not enough attention was paid to the error paths, and for several drivers this causes 0 to be returned on error in some cases. Fix this by properly returning a non-zero value on every error. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>