UPSTREAM: usb: dwc3: core: fix PHY handling during suspend
authorFelipe Balbi <balbi@kernel.org>
Mon, 11 Apr 2016 14:12:34 +0000 (17:12 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commitedf933457235a997d2325e3304d6c31dadd2ff18
tree83bbb71841d6f54f4cc36bd901ba7b6c9bbbe31c
parent6e99be2084758fc11b14e96496fdb61ef1e3d843
UPSTREAM: usb: dwc3: core: fix PHY handling during suspend

we need to power off the PHY during suspend and
power it back on during resume.

Change-Id: Ied8a2927e522ce1a94e5bb06ce13af678e47ca18
Signed-off-by: Felipe Balbi <balbi@kernel.org>
[nsekhar@ti.com: fix call to usb_phy_set_suspend() in dwc3_suspend()]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 5c4ad318de3b8e8680d654c82a254c4b65243739)
drivers/usb/dwc3/core.c