summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/am33xx_bbu_emmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap/am33xx_bbu_emmc.c')
-rw-r--r--arch/arm/mach-omap/am33xx_bbu_emmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap/am33xx_bbu_emmc.c b/arch/arm/mach-omap/am33xx_bbu_emmc.c
index d3adb3744c..1fd7222ddc 100644
--- a/arch/arm/mach-omap/am33xx_bbu_emmc.c
+++ b/arch/arm/mach-omap/am33xx_bbu_emmc.c
@@ -73,7 +73,7 @@ error_save_part_table:
error:
close(fd);
- return ret;
+ return (ret > 0) ? 0 : ret;
}
int am33xx_bbu_emmc_mlo_register_handler(const char *name, char *devicefile)