MLK-10086-3 usb: phy-nop: add the implementation of .set_suspend
authorLi Jun <b47624@freescale.com>
Tue, 20 Jan 2015 08:03:38 +0000 (16:03 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:01 +0000 (14:47 -0500)
commitf3b75e149616d8253528b99f0302dbc9abe8bfc9
treec39f908e5607c46563d5042b82b462e9f94906f7
parentf17bec16d05e860c98774dee6eacd3463e7e421b
MLK-10086-3 usb: phy-nop: add the implementation of .set_suspend

Add clock enable/disable 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@freescale.com>
(cherry picked from commit 6c2f853799899c37ee2f733cafd58f1b2dc1f37f)
drivers/usb/phy/phy-generic.c