projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618d117
)
MLK-9618-4 usb: chipidea: otg: show message for a_wait_bcon time out
author
Li Jun
<b47624@freescale.com>
Thu, 16 Oct 2014 14:17:57 +0000
(22:17 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:14 +0000
(14:47 -0500)
When a host start a session and wait b device to connnect within
TA_WAIT_BCON, if failed, should show a message 'Device no response'
according to otg and EH compliance plan version 1.2 section 6.7.22
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit
1762592ead672d27b281df8becf90f8c7d7fe61c
)
(cherry picked from commit
f1f68bc5f62848382646599c3609ad797bf3b5a5
)
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
0c0eb27
..
78f8f34
100644
(file)
--- a/
drivers/usb/chipidea/otg_fsm.c
+++ b/
drivers/usb/chipidea/otg_fsm.c
@@
-308,6
+308,7
@@
static int a_wait_vfall_tmout(struct ci_hdrc *ci)
static int a_wait_bcon_tmout(struct ci_hdrc *ci)
{
ci->fsm.a_wait_bcon_tmout = 1;
+ dev_warn(ci->dev, "Device No Response\n");
return 0;
}