projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f76fc3
)
Revert "usb: otg: cpcap: Allow suspend in host mode"
author
Colin Cross
<ccross@android.com>
Thu, 24 Mar 2011 21:26:33 +0000
(14:26 -0700)
committer
Colin Cross
<ccross@android.com>
Thu, 24 Mar 2011 21:26:33 +0000
(14:26 -0700)
This reverts commit
a45f27a0089f4d6b4936f87a6f5f14649c2c46fe
.
drivers/usb/otg/cpcap-otg.c
patch
|
blob
|
history
diff --git
a/drivers/usb/otg/cpcap-otg.c
b/drivers/usb/otg/cpcap-otg.c
index e1f8b196f3608426bd8f8cf2b546857bb4b585af..50e96f8bb354c28e49f07b8d8921818c562ff651 100644
(file)
--- a/
drivers/usb/otg/cpcap-otg.c
+++ b/
drivers/usb/otg/cpcap-otg.c
@@
-131,7
+131,7
@@
static int cpcap_otg_notify(struct notifier_block *nb, unsigned long event,
return 0;
otg->state = to;
- if (to
== OTG_STATE_B_PERIPHERAL
)
+ if (to
!= OTG_STATE_A_SUSPEND
)
wake_lock(&cpcap->wake_lock);
dev_info(cpcap->otg.dev, "%s --> %s", cpcap_state_name(from),