On 12/13/2010 6:45 PM, Felipe Balbi wrote: > On Mon, Dec 13, 2010 at 05:47:34PM +0530, Pavan Kondeti wrote: >> On 12/10/2010 10:11 PM, Hao Wu wrote: >>> Add HNP polling support in penwell_otg transceiver driver. >>> >>> Signed-off-by: Hao Wu <hao.wu@xxxxxxxxx> >>> --- >>> drivers/usb/otg/penwell_otg.c | 175 +++++++++++++++++++++++++++++++++---- >>> include/linux/usb/intel_mid_otg.h | 7 ++ >>> 2 files changed, 165 insertions(+), 17 deletions(-) >> >> Why not implementing HNP polling in USB core? > > usbcore will start sending the hnp poll request in a timer fashion, > UDC drivers have to implement handling for that control message. > We have implemented HNP polling for MSM and you can find the reference at https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=b20995779eb5239849c2c41d4e202308dee99d1b I am working on porting this to latest kernel and will send RFC in couple of days. Thanks, Pavan -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html