Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp389324imn; Thu, 28 Jul 2022 04:03:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZpYTP23NrXUEwIZR0r5C453yaMLH0tUhahWp5+NftaRtv/mFdut5HTRKDd/5IQjRap8jT X-Received: by 2002:a17:907:2d0b:b0:72b:978a:c6df with SMTP id gs11-20020a1709072d0b00b0072b978ac6dfmr20929246ejc.618.1659006231905; Thu, 28 Jul 2022 04:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659006231; cv=none; d=google.com; s=arc-20160816; b=y2R1to8lKArmCn9HNOgJ+Q2iCj9rX4LCr6qaPf/gnvmUj4+lEgXetoHXrHo6PHcyfK K+B12b1M3TdbkIUj9gM65EhakBlxXqdiOniyeZOOWqqTyjqIBuxxHO/jLa7fDs2B9l3C TvXuy5qhbe5ZXkF1VEFfB4mt3WMujVQqBI//oQeMZ3kMq/4PwfYtPQ7yf/cp8O48VKuq tWLdS56BUdULFALeAzyzVlVYM39SfuncowLh/QolZ/0qq5VM9jUPLXq+UNnDLk1iP83m Yt5zDVq7/pfY4e4wIcABleILDPV+27iw44ZB+CnYkmTrX1tqCdwW9QkT3r8vkFpcNdEY 6+Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EYLN2VgFPShJvkoh7oJtGxXStSJxN1cfz1bpPXRcJLM=; b=L6WcW2Nmln9O6WpcDjKtuYEokJtLDFsA5aVkCl8FgRrjTVIUEKPMmbuuZygrUkNdZ9 e9Usfop04TJLyphbeZvGar00y4/3B7gO9p74huspvfUQxr1L3sMlsbOJKDQ2XI+Adrlk gya/cIyDZq8H1laReZM+7hDZN9bzP18m8GnuNNS698I0CLPgwWM5lECTNs80WMUW95FR nekOtLqKdl2LcPHh3Z5fk2OUJxN5dsdg8vV9LhBki6BbGNPZF9DVRk0GkatM82zheeVJ GrDiZshnTgBd/QIcTNP2MHko2YkU7S0tmFlg+/MRp7vZd0n2z4oSazaeKMeCwUa/8w6f dTfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a+Dj/mYh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c14-20020a170906340e00b00722dcffcce0si359108ejb.434.2022.07.28.04.03.25; Thu, 28 Jul 2022 04:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a+Dj/mYh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236416AbiG1Ksz (ORCPT + 99 others); Thu, 28 Jul 2022 06:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236413AbiG1Kso (ORCPT ); Thu, 28 Jul 2022 06:48:44 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E191573B for ; Thu, 28 Jul 2022 03:48:40 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id w16so1078562ljh.3 for ; Thu, 28 Jul 2022 03:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EYLN2VgFPShJvkoh7oJtGxXStSJxN1cfz1bpPXRcJLM=; b=a+Dj/mYhB8H1Bp+5HLk5zHgeUYIKBPfd7Yo+ipogyQ3BXiEoDKeRLhR1S/YwL2OmaS E1A06DTnla0zeAljOyHhRQMruZlceg6qHB9sQGGoJrvAPWsJot3Zvi8gJBXzakTKzYhP 7sZ1Nz+zP+fVgCfS2JlVWNUeXkWgJNZyHBbKuT6BOmWOr/7L9y8N9AurxpWGAb1nf338 mmPyfVLmA70r8mCWrfeNwPur8tNSKVSth3eixf4nGGuSrIrHJA812nUGMCPns59eXjR9 iTtB0qopT7eOf4W2US7gjDOS+JfO3InU/ZOaYdYSKEobdJMyBu/tVYAjV3JIvyvIrtic f/gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EYLN2VgFPShJvkoh7oJtGxXStSJxN1cfz1bpPXRcJLM=; b=6j72RtTuOuwu2PbbSR++/SmTf0K/ofIdh2FR3l6uIqSiYzBjdLBFjCATezGOjMq3iH wf2AyyNZgT7TcJJ3o3vZFU9SRxhi0uQIN3+YXClZvmrr7qDXJ3BMpqsmPCv0Tk5ntZzl 63WyDFUvV7KgwFv+i8tYOQBStvhjKvP15+V3HXbdIKfglQ2fLAzolZWbk5IKgviU5XOD Apgyzjw58lWrzz6DCj4fKaYlzAKOv2gpl6GXbhLnXm96HBS6oDfucjhc4tBGAzFfwQlO QvByxnMAHT9pbkzYImbdz0pzRMb92DIZc3fT7LwaGtlbG4eMaR1uenfoNXhpmJ0VHSgl xshg== X-Gm-Message-State: AJIora+RIPHLTeD4tnbwI23LmwvjIObpAvH9n9F18YhLw/wLmDXrX4J1 vcBrUOo47Qf+eKIEsJr37xuoJzc0HnRGo61jFyRV+A== X-Received: by 2002:a05:651c:1147:b0:25d:eb36:755d with SMTP id h7-20020a05651c114700b0025deb36755dmr8521602ljo.16.1659005319133; Thu, 28 Jul 2022 03:48:39 -0700 (PDT) MIME-Version: 1.0 References: <20220727185012.3255200-1-saravanak@google.com> <20220727185012.3255200-4-saravanak@google.com> In-Reply-To: <20220727185012.3255200-4-saravanak@google.com> From: Ulf Hansson Date: Thu, 28 Jul 2022 12:48:02 +0200 Message-ID: Subject: Re: [PATCH v1 3/3] Revert "PM: domains: Delete usage of driver_deferred_probe_check_state()" To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Kevin Hilman , Pavel Machek , Len Brown , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , naresh.kamboju@linaro.org, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jul 2022 at 20:50, Saravana Kannan wrote: > > This reverts commit 5a46079a96451cfb15e4f5f01f73f7ba24ef851a. > > There are a few more issues to fix that have been reported in the thread > for the original series [1]. We'll need to fix those before this will > work. So, revert it for now. > > [1] - https://lore.kernel.org/lkml/20220601070707.3946847-1-saravanak@google.com/ > > Signed-off-by: Saravana Kannan Acked-by: Ulf Hansson Kind regards Uffe > --- > drivers/base/power/domain.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c > index 3e86772d5fac..739e52cd4aba 100644 > --- a/drivers/base/power/domain.c > +++ b/drivers/base/power/domain.c > @@ -2730,7 +2730,7 @@ static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, > mutex_unlock(&gpd_list_lock); > dev_dbg(dev, "%s() failed to find PM domain: %ld\n", > __func__, PTR_ERR(pd)); > - return -ENODEV; > + return driver_deferred_probe_check_state(base_dev); > } > > dev_dbg(dev, "adding to PM domain %s\n", pd->name); > -- > 2.37.1.359.gd136c6c3e2-goog >