diff --git a/arch/arm/mach-omap/am33xx_bbu_emmc.c b/arch/arm/mach-omap/am33xx_bbu_emmc.c index d3adb37..1fd7222 100644 --- a/arch/arm/mach-omap/am33xx_bbu_emmc.c +++ b/arch/arm/mach-omap/am33xx_bbu_emmc.c @@ -73,7 +73,7 @@ error: close(fd); - return ret; + return (ret > 0) ? 0 : ret; } int am33xx_bbu_emmc_mlo_register_handler(const char *name, char *devicefile)