public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH 1/3] usb: udc-core: introduce vbus_active for struct usb_gadget
@ 2013-03-12  9:03 Peter Chen
  2013-03-12  9:03 ` [RFC PATCH 2/3] usb: udc: delete the vbus indicator at individual driver Peter Chen
  2013-03-12  9:03 ` [RFC PATCH 3/3] usb: udc-core: add judgement logic for usb_gadget_connect Peter Chen
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Chen @ 2013-03-12  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

If there is an vbus session event for udc driver, let the
udc core know vbus's status.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
---
 include/linux/usb/gadget.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index 2e297e8..7e373a2 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -531,6 +531,7 @@ struct usb_gadget {
 	unsigned			b_hnp_enable:1;
 	unsigned			a_hnp_support:1;
 	unsigned			a_alt_hnp_support:1;
+	unsigned			vbus_active:1;
 	const char			*name;
 	struct device			dev;
 	unsigned			out_epnum;
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-03-13  8:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12  9:03 [RFC PATCH 1/3] usb: udc-core: introduce vbus_active for struct usb_gadget Peter Chen
2013-03-12  9:03 ` [RFC PATCH 2/3] usb: udc: delete the vbus indicator at individual driver Peter Chen
2013-03-12  9:46   ` Felipe Balbi
2013-03-13  3:10     ` Peter Chen
2013-03-13  7:44       ` Felipe Balbi
2013-03-13  7:49         ` Peter Chen
2013-03-13  8:43           ` Felipe Balbi
2013-03-12  9:54   ` Peter Chen
2013-03-12  9:03 ` [RFC PATCH 3/3] usb: udc-core: add judgement logic for usb_gadget_connect Peter Chen
2013-03-12  9:47   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox