diff options
author | Trevor Woerner <twoerner@gmail.com> | 2023-08-30 22:49:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-09-18 17:34:14 -0400 |
commit | dc38fe2ca5dac47e2acf848524c2c0749c4aabf0 (patch) | |
tree | 73f3bd4648876176207ed34cf7186d49b48e8a3a | |
parent | 8fcd28aae590cdca86f497f1e2431f6e4af1b268 (diff) |
am33xx: ignore return value from usb_ether_init()
In 2cb43ef1c223 ("usb: ether: Fix error handling in usb_ether_init") the error
handling of usb_ether_init() was changed. Not a single other call site of this
function checks its return value, therefore follow suit in the am33xx code.
Do not cause the boot to halt if the usb gadget ethernet initialization fails:
initcall sequence 9ffdbd84 failed at call 808024b9 (err=-19)
### ERROR ### Please RESET the board ###
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Michal Suchánek <msuchanek@suse.de>
-rw-r--r-- | arch/arm/mach-omap2/am33xx/board.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c index a6307251c1f..9d9b4d7f293 100644 --- a/arch/arm/mach-omap2/am33xx/board.c +++ b/arch/arm/mach-omap2/am33xx/board.c @@ -270,11 +270,7 @@ int arch_misc_init(void) return ret; #if defined(CONFIG_DM_ETH) && defined(CONFIG_USB_ETHER) - ret = usb_ether_init(); - if (ret) { - pr_err("USB ether init failed\n"); - return ret; - } + usb_ether_init(); #endif return 0; |