usb: penwell_otg: Enable hnp polling
authorHao Wu <hao.wu@intel.com>
Fri, 26 Aug 2011 10:55:06 +0000 (11:55 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:38:31 +0000 (12:38 -0800)
commitc876d940bbfb04306b8da20298151cd8b8661f65
tree8ff7b6ef43eac84b94c04a4be95e0a1a50b31950
parent8d96aba0ad1cbf271b672e86ef90b886910709c3
usb: penwell_otg: Enable hnp polling

This patch only enables basic HNP function on penwell back-to-back
case. This driver is still in development and not enough OTG Spec
compliance test was done due to no OPT currently, but more work on
it in next step.

Change-Id: I93f0915b42429cb8f16437ad2bc762fb5e1d58f7
Signed-off-by: Hao Wu <hao.wu@intel.com>
[Added bug fixes from Hao Wu]
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
drivers/usb/otg/penwell_otg.c
include/linux/usb/penwell_otg.h