usb: gadget: add hnp_polling_support and host_request_flag in usb_gadget
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:40 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:35 +0000 (15:14 +0200)
commit75a9c82ab9638c13ce0964ed8d89d910597f03b4
tree6363725d7bc7f4813d02b25f95e13af974c51071
parent175f712119c57c0f2a9b553211d3edcfc460b484
usb: gadget: add hnp_polling_support and host_request_flag in usb_gadget

Add 2 flags for USB OTG HNP polling, hnp_polling_support is to indicate
if the gadget can support HNP polling, host_request_flag is used for
gadget to store host request information from application, which can be
used to respond to HNP polling from host.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
include/linux/usb/gadget.h