Re: [PATCH v2] phy: rcar-gen3-usb2: fix implementation for runtime PM

From: Sergei Shtylyov
Date: Mon Mar 13 2017 - 07:57:17 EST

On 03/13/2017 12:39 PM, Yoshihiro Shimoda wrote:

This patch fixes an issue that this driver doesn't take care of the runtime
PM. This code assumed that devm_phy_create() called pm_runtime_enable(dev),
but it misunderstood the dev_phy_create()'s specification.
This driver should call its own pm_runtime_pm() before dev_phy_create().

You probably meant pm_runtime_enable()? Sorry for not noticing the 1st time...

Fixes: f3b5a8d9b50d ("phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

MBR, Sergei