From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755423AbdLTOJb (ORCPT ); Wed, 20 Dec 2017 09:09:31 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:41495 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755287AbdLTOJ2 (ORCPT ); Wed, 20 Dec 2017 09:09:28 -0500 X-Google-Smtp-Source: ACJfBoulHlhb7dmPOK7bdF/G1a1XeoUfxT4yG8rkYtxJHRi8kwO1bm2hebG7Jr5zefvquc/Tr0q2qA== From: Ulf Hansson To: Kishon Vijay Abraham I , linux-kernel@vger.kernel.org Cc: "Rafael J . Wysocki" , linux-pm@vger.kernel.org, Yoshihiro Shimoda , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, Ulf Hansson Subject: [PATCH v2 0/3] phy: core: Re-work runtime PM deployment and fix an issue Date: Wed, 20 Dec 2017 15:09:17 +0100 Message-Id: <1513778960-10073-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v2: - Address scenario, pointed out by Kishon, that runtime PM may be enabled by the phy provider driver, *after* it have called devm_phy_create() or phy_create(). The intend of this series is to simplify the runtime PM deployment in the phy core, but while doing that fixing a related problem for a Renesas SoC making use of a phy. This issue was raised by Geert Uytterhoeven and Yoshihiro Shimoda, due to a changed behaviour in the runtime PM core. The commit in question is f8817f61e821 (PM / runtime: Drop children check from __pm_runtime_set_status()). However, it turned out that the problem existed already prior this change, only that the error was printed instead of giving a WARN splat. More details about the changes are available in each change log. For additional background, please have look at the link below. https://patchwork.kernel.org/patch/10086651/ Ulf Hansson (3): phy: core: Move runtime PM reference counting to the parent device phy: core: Drop unused runtime PM APIs phy: core: Update the runtime PM section in the docs to reflect changes Documentation/phy.txt | 29 ++++++++++++---------- drivers/phy/phy-core.c | 65 +++++++------------------------------------------ include/linux/phy/phy.h | 46 +--------------------------------- 3 files changed, 26 insertions(+), 114 deletions(-) -- 2.7.4