projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a9d6bc
)
MLK-9618-6 usb: chipidea: otg: show message for b host HNP fails
author
Li Jun
<jun.li@freescale.com>
Mon, 4 May 2015 02:56:59 +0000
(10:56 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:14 +0000
(14:47 -0500)
Show 'Device no response' message if A-device fails to connect as a peripheral.
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit
134a56ed85141acfa86ba0d827f654f7716405f2
)
drivers/usb/chipidea/otg_fsm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/otg_fsm.c
b/drivers/usb/chipidea/otg_fsm.c
index
92acee7
..
e095c2d
100644
(file)
--- a/
drivers/usb/chipidea/otg_fsm.c
+++ b/
drivers/usb/chipidea/otg_fsm.c
@@
-321,6
+321,7
@@
static int a_aidl_bdis_tmout(struct ci_hdrc *ci)
static int b_ase0_brst_tmout(struct ci_hdrc *ci)
{
ci->fsm.b_ase0_brst_tmout = 1;
+ dev_warn(ci->dev, "Device No Response\n");
return 0;
}