From: Li Jun <b47624@xxxxxxxxxxxxx> Adds host_request_flag for gadget to store host request information from application, which can be used to response to HNP polling from host. Signed-off-by: Li Jun <jun.li@xxxxxxxxxxxxx> --- include/linux/usb/gadget.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index e2f00fd..5508c48 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -563,6 +563,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; unsigned quirk_ep_out_aligned_size:1; unsigned is_selfpowered:1; }; -- 1.7.9.5 -- 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