HNP polling is a new feature from USB OTG 2.0 spec, OTG host will poll the host request flag from the OTG device side using get_status(). This patch add one member in usb_gadget data structure for this purpose.
Signed-off-by: Hao Wu <[email protected]> --- 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 d3ef42d..e420f02 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -486,6 +486,7 @@ struct usb_gadget { unsigned b_hnp_enable:1; unsigned a_hnp_support:1; unsigned a_alt_hnp_support:1; + unsigned host_request_flag:1; const char *name; struct device dev; }; -- 1.6.0.6 _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
