mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
usb: musb: don't complain on -EPROBE_DEFER when initializing controller
Don't complain on -EPROBE_DEFER when initializing controller, the driver probe will be retried later. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
454f83d5e6
commit
3df08dc712
@ -2321,8 +2321,9 @@ fail2:
|
||||
musb_platform_exit(musb);
|
||||
|
||||
fail1:
|
||||
dev_err(musb->controller,
|
||||
"musb_init_controller failed with status %d\n", status);
|
||||
if (status != -EPROBE_DEFER)
|
||||
dev_err(musb->controller,
|
||||
"%s failed with status %d\n", __func__, status);
|
||||
|
||||
musb_free(musb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user