usb: phy: phy-generic: add the implementation of .set_suspend
authorPeter Chen <peter.chen@nxp.com>
Mon, 31 Oct 2016 02:18:20 +0000 (10:18 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:42 +0000 (13:54 +0200)
commita0fe0415e0b2a1d87b54db1a0451e05f59675f0c
tree666f5c7c2cec2595456ce256ef2069387e8deee4
parenta22f884b266514e3657e65f2a63141f70d3644c0
usb: phy: phy-generic: add the implementation of .set_suspend

Add clock operation at .set_suspend if the PHY has
suspend requirement, it can be benefit of power saving for
phy and the whole system (parent clock may also be disabled).

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-generic.c