usb: gadget: Add host_request_flag for hnp polling
authorHao Wu <hao.wu@intel.com>
Fri, 26 Aug 2011 10:55:05 +0000 (11:55 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:38:33 +0000 (12:38 -0800)
commit3cf5555d90fa1641b10ff683501b1ef40e4032f9
tree98cc1e39de70f69731cd5231e182da628ecd0ba8
parentec49a681921bc729a6b7c9d16c9d9eebe99f964b
usb: gadget: Add host_request_flag for hnp polling

HNP polling is a new 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.

Change-Id: Ica076eaf0b2635bfe00e666c266c4db9590a4592
Signed-off-by: Hao Wu <hao.wu@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
include/linux/usb/gadget.h