Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp293215ybk; Tue, 12 May 2020 23:48:12 -0700 (PDT) X-Google-Smtp-Source: APiQypLwNahuaYy7tce8LOm8vnV1i4sYQO7IkFM6WH/vdEBPAjQCBN77i0sd6krL3tivJwG8QD8f X-Received: by 2002:a17:906:3e56:: with SMTP id t22mr15238343eji.277.1589352492491; Tue, 12 May 2020 23:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589352492; cv=none; d=google.com; s=arc-20160816; b=v6aRLM+xQQPLaW8wAdOpzhtTfj/hFGJryqYp4hl2xD/HMXtn4lasbdnitvlHD84/3m r7FcnC2M+HEM9PpvlXIsPUVk0vFkowUm9rVIZb0OnLa1c/j4KSi9Ioxi5neVUbPshB0S 90skdhDUg309/Vtp3UKXFR4wH4zpVTxqKCUJRHxiAEy8vicE5MU88zHhnZ/1iprWKBu0 /paW8vVUieqB2gTpNYWlSbF9AG1jF3nAhqcWmDN893K/zX0nOYeUs+QrV4PVXNFikxkW LhO5gKVkFGCZ9xQL1Epzo2qdC5s3XuM2yFi0iXLJ8ijzDcPJNukl6Yz2Ito3+YJkXBE9 HFYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SdoodXbLdjJhFKg183MdCLlRCCGhuA/fW4OhYTZuK3Y=; b=tpy5WwWXj4sXQmg0irIWp07fT0+EmZOfO5PBFt8FueOzHM6lXSCYd5W6/P4YrIC2or e9A0qD32PRMQxzjW6wfUXoPgbRU1G/cnl5Oq1qaNnr7+wqJnmN2D9bY5ajQguPXwwnyJ 1xNhrj6av5ixeWwpGUncgcO81n/GTYEBm2B4/xquK2+Jynf0fEWiqPqec7rcRYBgx20b +HymEX0OW6nkII2ElY90HL604UHgb7RNGK8D+kTKPQmvNa5ySoSYvIqMAPLQgrNa4Uar zK5uCIpMIUqr8LZDq4Ogwwo55SsbF1Hq6+x0VmUcGfguu51qPi09yZ7nwOTGPbGHGSt8 1SVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IpTr+v4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si2331146edc.174.2020.05.12.23.47.49; Tue, 12 May 2020 23:48:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IpTr+v4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729642AbgEMGnb (ORCPT + 99 others); Wed, 13 May 2020 02:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728988AbgEMGnb (ORCPT ); Wed, 13 May 2020 02:43:31 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A91BC061A0C for ; Tue, 12 May 2020 23:43:31 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id a4so7360988pgc.0 for ; Tue, 12 May 2020 23:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SdoodXbLdjJhFKg183MdCLlRCCGhuA/fW4OhYTZuK3Y=; b=IpTr+v4AtxYHb9qJtYjdSbMeRxAFkPrQc1IgcLC8xxTq2HVifdgGWE7Xmmkw7wwwy3 sYiW4+0p17YIZ4e3jZNlYjqt9uOiWjO9gHwFwG30Urgewvt0rvY8UWaoIUCejTk+LDE/ v8RkrXzyQDsOGX7I8eNruS7haRji//dWg2tIL/0WKKjQ02KTbP/o6Jbv9rSciOoFyXN7 zwpsD4+vLU3EmP3DNXbV3bxKqvXjRLwYCkpugTB4V1qk07+mYrYJghKEP6fHPDM3ATme lltd0tFTM509rztRYMnVL4hsX9M8H6w5m6ug8hPBgaFUKumm6s1yKCrRVSzFffl49FNm UxZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SdoodXbLdjJhFKg183MdCLlRCCGhuA/fW4OhYTZuK3Y=; b=gbG5JlJP6NKu0FFlNrrsfvQV62cGDt58+ROULdEZuWC70eoVkmUK03GEYONEIZ379Y C7mEPZtEW9Gzord0LDH+/OAf2ljLBLDRvDtvqPRmVH2BCeJJsB2hCZn87SytJfrcnZTa Pn9weiRWVKwlQtxo4poU1gKHHtPML/cbbChHid4c4pvuNiIkwzCgbANLC5L6QzzlVsod dEDMJvF/dTLTNADvhYbO4ndjuzoOCH3WzSOVZ0B8wgtL1IIP4YtCGRQyuT8VRZaAzRaU 64y32QXrbEyoxeA1vB6kT1UDK+3qK1qqz5YsFiAwyMW6zPMyWt/aY7nA5iolB7/KL+WT 6yOQ== X-Gm-Message-State: AOAM531NOdVV3Jxo1w7GHASg2/wx3c1GOHhVwOEGfUHZgl9ZBZ7q+X7h A7N2enxm1hD/8Qc+Vu9Kn0ti6g== X-Received: by 2002:a63:4504:: with SMTP id s4mr10046673pga.247.1589352210742; Tue, 12 May 2020 23:43:30 -0700 (PDT) Received: from localhost ([122.167.130.103]) by smtp.gmail.com with ESMTPSA id e12sm11989801pgv.16.2020.05.12.23.43.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2020 23:43:29 -0700 (PDT) Date: Wed, 13 May 2020 12:13:28 +0530 From: Viresh Kumar To: Georgi Djakov Cc: vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, rjw@rjwysocki.net, saravanak@google.com, sibis@codeaurora.org, mka@chromium.org, robh+dt@kernel.org, rnayak@codeaurora.org, bjorn.andersson@linaro.org, vincent.guittot@linaro.org, jcrouse@codeaurora.org, evgreen@chromium.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 10/10] OPP: Add support for setting interconnect-tags Message-ID: <20200513064328.ycnaal6d6m72d5bi@vireshk-i7> References: <20200512125327.1868-1-georgi.djakov@linaro.org> <20200512125327.1868-11-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512125327.1868-11-georgi.djakov@linaro.org> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12-05-20, 15:53, Georgi Djakov wrote: > From: Sibi Sankar > > Add support for setting tags on icc paths associated with > the opp_table. > > Signed-off-by: Sibi Sankar > Signed-off-by: Georgi Djakov > --- Applied this delta: diff --git a/drivers/opp/of.c b/drivers/opp/of.c index f71dc5eb0eba..a4972c94f428 100644 --- a/drivers/opp/of.c +++ b/drivers/opp/of.c @@ -346,7 +346,6 @@ int dev_pm_opp_of_find_icc_paths(struct device *dev, count = of_count_phandle_with_args(np, "interconnects", "#interconnect-cells"); - of_node_put(np); if (count < 0) { ret = 0; goto put_np; @@ -380,7 +379,7 @@ int dev_pm_opp_of_find_icc_paths(struct device *dev, /* Set tag if present */ if (!of_property_read_u32_index(np, "interconnect-tags", i, &tag)) - icc_set_tag(opp_table->paths[i], tag); + icc_set_tag(paths[i], tag); } if (opp_table) { -- viresh