diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2017-03-06 13:54:30 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-11 22:30:25 -0500 |
commit | 50075153fe66d8f9a859191132e8f23f11ba57d4 (patch) | |
tree | e656af2c82c37d9dffd717128187014527dc20fa /arch/arm/include/asm/arch-omap3/sys_proto.h | |
parent | e5bda8a2d88f8f3eba308fb30d7e12f3a50ab6b5 (diff) |
arm: OMAP2+: nandecc: propagate error to command return status
Currently nandecc returns zero even if underlaying
omap_nand_switch_ecc function fails. Fix that by
propagating error returned to command return value.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/sys_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 5979340ac8..ddcb559928 100644 --- a/arch/arm/include/asm/arch-omap3/sys_proto.h +++ b/arch/arm/include/asm/arch-omap3/sys_proto.h @@ -68,7 +68,7 @@ u32 wait_on_value(u32, u32, void *, u32); void cancel_out(u32 *num, u32 *den, u32 den_limit); void sdelay(unsigned long); void make_cs1_contiguous(void); -void omap_nand_switch_ecc(uint32_t, uint32_t); +int omap_nand_switch_ecc(uint32_t, uint32_t); void power_init_r(void); void do_omap3_emu_romcode_call(u32 service_id, u32 parameters); void omap3_set_aux_cr_secure(u32 acr); |