usb: dwc_otg: fix problems of commit 058d627
authorlyz <lyz@rock-chips.com>
Fri, 21 Nov 2014 08:18:49 +0000 (16:18 +0800)
committerlyz <lyz@rock-chips.com>
Fri, 21 Nov 2014 11:18:34 +0000 (19:18 +0800)
commit2bb9a8534a2626e7a1364a68b35e64059a8e53f2
tree43a88aae72e9c21965dee222b5ac698bdab922a0
parente61707d66a1abdff2285fb2dd5f8a243b9fb0176
usb: dwc_otg: fix problems of commit 058d627

1.
schedule_delayed_work(&pcd->check_id_work,msecs_to_jiffies(HZ))
should be schedule_delayed_work(&pcd->check_id_work,HZ)

2.fix coding-style to pass checkpatch.pl

3.set otg controler working on foece host/device mode to avoid
mode_missmatch_interrupts
drivers/usb/dwc_otg_310/dwc_otg_cil.c
drivers/usb/dwc_otg_310/dwc_otg_cil.h
drivers/usb/dwc_otg_310/dwc_otg_driver.c
drivers/usb/dwc_otg_310/dwc_otg_pcd_linux.c