]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: composite: handle otg status selector request from OTG host
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:44 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:36 +0000 (15:14 +0200)
commit39393da40e12410e006a819e438465fb140e9d4e
treeae95c5683e78cf158ff7a006144b6e27b51bf71c
parent83e1c46d4aed2ada0188c4f480664983b0c46b0a
usb: gadget: composite: handle otg status selector request from OTG host

If gadget with HNP polling support receives GetStatus request of otg
status selector, it feedback to host with host request flag to indicate
if it wants to take host role.

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>
drivers/usb/gadget/composite.c