From patchwork Tue Dec 19 21:22:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 122407 Delivered-To: patches@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4696940qgn; Tue, 19 Dec 2017 13:22:57 -0800 (PST) X-Received: by 10.25.190.72 with SMTP id o69mr2794492lff.15.1513718577784; Tue, 19 Dec 2017 13:22:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513718577; cv=none; d=google.com; s=arc-20160816; b=lNVXMSJZokKG+hdLRWznW8SGg7svsPhuyPCn41XrRpbIUL/dksTn6HjOEf0yG/ywQF nG52/8gIsxU7dw4TcjgUSAsiun4C4FgV2lMYtZlGpPOh6fpXPeWfQ+uTITHRs0S7ErKt q0LfkSlqKcTktMUAywNAOHAvdyWVahvYygT8Uap1ej9cfVW5tqglkXXv07MNDNhd6Pa2 mFfUaGeDFt0pMijJ0I+KoyjUDmNdrjnHWaBsGkg4rnyXMSqI4/xUyJr10oheipIwSLk9 htMkbVsRJUBBOyIWbFPqPiDh23eCthrWPoAinC2zpRkb98/WJM+wK0GddetIWhEfjPJ1 KOSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=7ZJpAO3LjqNPN08uEW29A841eHDvKE3rnpiHU/54/MI=; b=TM0So8nXZkC6KAQ2LUQWYEKf+iE/Y4sWU3PXSx7MTVRaKXc+iQ2jYmm5eyVQw8sLrt AeN4XPfG7ZCJdyWsrA5Y/RxKgLYlLMQu2fLbmPkWpaXZfWNWZij1wbByksEFY9GVW4Ct wTwp5vm5w5Ae5gv+vlsu5q53T5n1UbRkwBkLgcQTeYrBdPUNPfsPqwlWv++/avX5OMEs WsuJMCJNt5AEiP8g210NT7zuBHP37iJiRobF9CJaQGhszUowkSS5+VDDXu1we78r7PYz 0Q8Dp4ekfetdMXc706p7qZmIxJ6VkAYiK066SjuqbbK5AOV5NYJh/vuNEO64RS+1Z6PB WCCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tot9gXX6; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k76sor2997695ljb.31.2017.12.19.13.22.57 for (Google Transport Security); Tue, 19 Dec 2017 13:22:57 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tot9gXX6; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7ZJpAO3LjqNPN08uEW29A841eHDvKE3rnpiHU/54/MI=; b=Tot9gXX6xHwJTsNnf6XZ6eHOa6G5DBx0oUN4CCMhwh7xP/FMnCjwVFhkaiwKlF0rUc WzHeGfW4468s3AU9oEKPjrpgDUBZQMddZ9A1DaAQKkwThc8w0DWD80KuMDd+p4E2Rt0f jnnx3c18B6NRdwyjPUU8qSQeZuK7dTdZdDIcA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7ZJpAO3LjqNPN08uEW29A841eHDvKE3rnpiHU/54/MI=; b=gwIDY7jiVtqQ7QmndnBI7h+ocxXpQqvs7pq6SgmkvjganuGaj9I5AHHYrUK902XcgU cQUGBGfzxGg6N83dBOTAcJafX6ONAkUz6tZZCyNH8yrPwyMr9usQrsxuqLPPIWw6gvnE m8XJO3FdbkplNRDkASIj/wnIAzlznjaPXYTpIvYuwSUvixI6HTDX/tcegZHdGeMreM93 CiE+uW2CVO18TdOg181+xb37d3vvterXLhGIhAe8WQHDfmq868JFDYSHk/vROc6CCMFZ azbWaNDUy/zjRwDUgEKLxgM1rGtD5A/kHwifXf3Ca0fyzmap/DYShmQaSwbRcgxenjng l9UA== X-Gm-Message-State: AKGB3mJx0SbQrN7ZbS0NvUXpF+MsbqYzTXP77hYG9uCs/8DONLbKPz0p I4FvNjoGkRWdmowuxafNAnWc0E0m X-Google-Smtp-Source: ACJfBouHaJqaSADHCBOsToQe3lul6QC77e5b+EY3N8c4GFu1aFJk/OIDaku4BZU3xQyRdQ/Y8kD7Yw== X-Received: by 10.46.84.27 with SMTP id i27mr3035080ljb.87.1513718577193; Tue, 19 Dec 2017 13:22:57 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-158-174-22-67.NA.cust.bahnhof.se. [158.174.22.67]) by smtp.gmail.com with ESMTPSA id 13sm3173068ljv.37.2017.12.19.13.22.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Dec 2017 13:22:56 -0800 (PST) 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 0/3] phy: core: Re-work runtime PM deployment and fix an issue Date: Tue, 19 Dec 2017 22:22:28 +0100 Message-Id: <1513718551-28624-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 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 | 28 +++++++------- drivers/phy/phy-core.c | 99 +++++++------------------------------------------ include/linux/phy/phy.h | 45 ---------------------- 3 files changed, 28 insertions(+), 144 deletions(-) -- 2.7.4