Re: [PATCH 6.1.y] phy: qcom-qmp-combo: fix runtime suspend

From: Greg KH
Date: Tue Feb 07 2023 - 04:43:55 EST


On Fri, Feb 03, 2023 at 02:28:20PM -0800, Stephen Boyd wrote:
> From: Johan Hovold <johan+linaro@xxxxxxxxxx>
>
> commit c7b98de745cffdceefc077ad5cf9cda032ef8959 upstream.
>
> Drop the confused runtime-suspend type check which effectively broke
> runtime PM if the DP child node happens to be parsed before the USB
> child node during probe (e.g. due to order of child nodes in the
> devicetree).
>
> Instead use the new driver data USB PHY pointer to access the USB
> configuration and resources.
>
> Fixes: 52e013d0bffa ("phy: qcom-qmp: Add support for DP in USB3+DP combo phy")
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20221114081346.5116-6-johan+linaro@xxxxxxxxxx
> Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 12 ++----------
> 1 file changed, 2 insertions(+), 10 deletions(-)

Now queued up, thanks.

greg k-h