]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit516c9a9a0c9aacec362ac2be02085816e0cd9351
tree6363725d7bc7f4813d02b25f95e13af974c51071
parentd6a267c618f13092b586c4a155bf90ef6a2fc301
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