usb: musb: don't complain on -EPROBE_DEFER when initializing controller
Subsystems (2)
PATCH 1/1 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.
--- drivers/usb/musb/musb_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/usb/musb/musb_core.c +3 -2
@@ -2329,8 +2329,9 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)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);
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20161109140804.GD20859-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Tony Lindgren
Acked-byQuoted 4 lines · Ladislav Michl
Don't complain on -EPROBE_DEFER when initializing controller, the driver probe will be retried later.
Signed-off-by Ladislav Michl <ladis-6z/[email protected]>
Quoted 23 lines
--- drivers/usb/musb/musb_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/usb/musb/musb_core.c +3
-2@@ -2329,8 +2329,9 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)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);Signature · 1 line
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Bin Liu
AppliedQuoted 7 lines · Tony Lindgren
Quoted 4 lines · Ladislav Michl
Don't complain on -EPROBE_DEFER when initializing controller, the driver probe will be retried later.
Signed-off-by Ladislav Michl <ladis-6z/[email protected]>Acked-by Tony Lindgren <[email protected]>
Applied. Thanks.
-Bin.
Quoted 19 lines
Quoted 19 lines
--- drivers/usb/musb/musb_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/usb/musb/musb_core.c +3
-2@@ -2329,8 +2329,9 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)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);
Quoted 5 lines
Quoted 5 lines
drivers/usb/musb/musb_core.c +0
-0musb_free (musb);Signature · 1 line
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html