projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4294bca
)
Revert "usb: musb: gadget: fix otg active status flag"
author
Greg Kroah-Hartman
<
[email protected]
>
Mon, 14 Oct 2013 20:06:15 +0000
(13:06 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 14 Oct 2013 20:06:15 +0000
(13:06 -0700)
This reverts commit
9b0a1de3c85d99d881c86a29b3d52da7b9c7bd61
.
Aaro writes:
With v3.12-rc4 I can no longer connect to N800 (OMAP2) with USB
(peripheral, g_ether).
According to git bisect this is caused by:
9b0a1de3c85d99d881c86a29b3d52da7b9c7bd61
is the first bad commit
So revert this patch, as Felipe says:
It's unfortunate that tusb6010 is so messed up
Reported-by: Aaro Koskinen <
[email protected]
>
Acked-by: Felipe Balbi <
[email protected]
>
Cc: Bin Liu <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/musb/musb_gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_gadget.c
b/drivers/usb/musb/musb_gadget.c
index 07bf4dfddeaa114cf1329fb32d3ad77453268f6c..3671898a4535b3cf2de3c0e188f4947485d2760d 100644
(file)
--- a/
drivers/usb/musb/musb_gadget.c
+++ b/
drivers/usb/musb/musb_gadget.c
@@
-1853,6
+1853,7
@@
static int musb_gadget_start(struct usb_gadget *g,
musb->gadget_driver = driver;
spin_lock_irqsave(&musb->lock, flags);
+ musb->is_active = 1;
otg_set_peripheral(otg, &musb->g);
musb->xceiv->state = OTG_STATE_B_IDLE;