HNP polling is one 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 <hao.wu@xxxxxxxxx> --- 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 006412c..7da1bdd 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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html