USB: DWC_OTG: fix otg device clk repeatedly disable
authorWu Liang feng <wulf@rock-chips.com>
Wed, 31 Dec 2014 10:13:01 +0000 (18:13 +0800)
committerWu Liang feng <wulf@rock-chips.com>
Wed, 31 Dec 2014 10:13:01 +0000 (18:13 +0800)
commit4a1bab8fa980387a172156336bf8d9ef3a16685f
tree99bf97f3ca2b8baafd14d5697b08ca1a6c9b7826
parentc540072d453796898bfb6b6529059ef9915c0d3f
USB: DWC_OTG: fix otg device clk repeatedly disable

The commit 28e9901cf058f17092b91347c0df0bad62962e5e set
otg device phy enter suspend and resume it after system
wakeup. But we don't control the clk, and it will cause
otg device repeatedly disable clk when resume from suspend.

Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
drivers/usb/dwc_otg_310/dwc_otg_driver.c