Yunzhi, On Fri, Dec 12, 2014 at 7:09 AM, Yunzhi Li <lyz@xxxxxxxxxxxxxx> wrote: > Get PHY parameters from devicetree and power off usb PHY during > system suspend. > > Signed-off-by: Yunzhi Li <lyz@xxxxxxxxxxxxxx> > Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx> > > --- > > Changes in v7: None > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: > - Fix coding style: both branches of the if() which only one > branch of the conditional statement is a single statement > should have braces. > - No need to test dwc2->phy for NULL before calling generic phy > APIs. > > drivers/usb/dwc2/gadget.c | 33 ++++++++++++--------------------- > drivers/usb/dwc2/platform.c | 36 ++++++++++++++++++++++++++++++++++-- > 2 files changed, 46 insertions(+), 23 deletions(-) On rk3288-pinky (on a 3.14 tree with backports), I can confirm that this properly gets us into low power at suspend time. Tested-by: Doug Anderson <dianders@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html