diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-01-12 20:32:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-25 17:24:45 -0800 |
commit | fcf53a1ed4225c1f23997ef02f2770a39e73c515 (patch) | |
tree | 629873ccdc2656feb505627ce4df04faaa34fd5c /drivers/mmc/host/imxmmc.c | |
parent | 8aee2e296d19910d8ad4c676970f0055abc5b5e5 (diff) | |
download | kernel_samsung_aries-fcf53a1ed4225c1f23997ef02f2770a39e73c515.zip kernel_samsung_aries-fcf53a1ed4225c1f23997ef02f2770a39e73c515.tar.gz kernel_samsung_aries-fcf53a1ed4225c1f23997ef02f2770a39e73c515.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/host/imxmmc.c')
0 files changed, 0 insertions, 0 deletions