Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8827020ybi; Tue, 23 Jul 2019 16:09:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyb4Nkg0Aj14tL2APqfLOtBdc2uxU2bLqRBRYCJEcHWuRLvOJ9HoInCihGWIX/ekbTAqmQ0 X-Received: by 2002:a17:90a:b011:: with SMTP id x17mr85191158pjq.113.1563923342881; Tue, 23 Jul 2019 16:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563923342; cv=none; d=google.com; s=arc-20160816; b=wbcTF7F27Vwhb3dnOsiLkeRa38VTTkLkGFUVnDWK/geU2MXEnryNW/qE8Gfjqe01UA H0kQwEyIyqsCAD69c/KA9BMkhTz4yWhsw3YXqV6AQfQBD1qMxvaGSQlfXnYmcyIP9/+F 1BmnlOE6NS4exl+QpKO0v4nyv3FuNUHj+lg8fiYtgzz4ObjsDF/4cxTdKiyMPveT9zvT ffjDGdAhxT1bw65QbOxDrVVQ1JNIxeOIgL82r948lhPFZPaOuuwMP87Pp+aFqgxpqyQ6 GSVJ3O54gjM9ryGRRoqm4LDva/SbpI4N12urMNd95JqJD2avNWStIAW0vISB6cU3A3ny QZMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:mime-version:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=xYHVjPEnK2SWP+r3hWe6spsBX3CeKCFK+Qz1Ihn5wCc=; b=cTShhEOFHk1fFxWC8Ck6dBHtNjmEUB/JKqImFYGBxixwfNzmuq7yPLKUkECtYmafYF q+MNXe158BehTIHwRrkGd4/LJCH23NlYiGu6IWHguBp/hosF/9JhUx30yvigz8Y6rTzo sxcfzIl8AX6S0HkO1u1JrG8YMCtV0NOv/51ctgP0XatLjS0ueSFEs5hNweICQzTatwz0 z9LupmQXwMIc+jJk2FNKWkkOMroXR8UAvHOkEGrn7BhS+2YcQ2/vI9McreyrlfdJYkLB sns+MGE+VXkNqYT+KHt0pPvcZZF+U3u9EUxLwYmyEAlz4WTlMV68rgdCleGykDccgwPK Ildw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UaVI1mOA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w20si12619163plp.394.2019.07.23.16.08.47; Tue, 23 Jul 2019 16:09:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UaVI1mOA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389688AbfGWMVF (ORCPT + 99 others); Tue, 23 Jul 2019 08:21:05 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57708 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389726AbfGWMU3 (ORCPT ); Tue, 23 Jul 2019 08:20:29 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190723122028euoutp02a21e5e16123b99910a0ce57c20f7538f~0CJoeHRF43178131781euoutp02Y for ; Tue, 23 Jul 2019 12:20:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190723122028euoutp02a21e5e16123b99910a0ce57c20f7538f~0CJoeHRF43178131781euoutp02Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563884428; bh=xYHVjPEnK2SWP+r3hWe6spsBX3CeKCFK+Qz1Ihn5wCc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UaVI1mOA+sPLf1x+tBVZqOIsO0hdEUIxRoLjdlxJAecyTZrERi9tsQomF32JhLFNu 4l1zkq3ZQVT9sMC222pC2VhV6f47Tnw3pa0n+bdvjqQclo/XKRKy2RgXTbWmE0D65v 2PciSDB308POH+dP6UM+9BY1TSHl/zL8dO40xeLI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190723122028eucas1p13eee0cf56f89df64afa3d2ce3ff472ae~0CJn56LWQ0096400964eucas1p1T; Tue, 23 Jul 2019 12:20:28 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 58.75.04325.B8BF63D5; Tue, 23 Jul 2019 13:20:27 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190723122027eucas1p124f44370a63b16dcb765585761d661a3~0CJnOVHTg0311803118eucas1p1H; Tue, 23 Jul 2019 12:20:27 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190723122027eusmtrp1e5dec855e09799ace7a70bf659773740~0CJnDXiFz2543625436eusmtrp1B; Tue, 23 Jul 2019 12:20:27 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-aa-5d36fb8b99fa Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DD.41.04146.A8BF63D5; Tue, 23 Jul 2019 13:20:26 +0100 (BST) Received: from AMDC3555.DIGITAL.local (unknown [106.120.51.67]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190723122026eusmtip2d645baf0e12dafb33d7dc0bd57036851~0CJmQ0Lac1668716687eusmtip2-; Tue, 23 Jul 2019 12:20:26 +0000 (GMT) From: =?UTF-8?q?Artur=20=C5=9Awigo=C5=84?= To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: krzk@kernel.org, cw00.choi@samsung.com, myungjoo.ham@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, georgi.djakov@linaro.org, m.szyprowski@samsung.com Subject: [RFC PATCH 07/11] icc: Relax condition in apply_constraints() Date: Tue, 23 Jul 2019 14:20:12 +0200 Message-Id: <20190723122016.30279-8-a.swigon@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190723122016.30279-1-a.swigon@partner.samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHe3euWqvjpviUUTQwSPASlh0wIu3C6ZtGQWRSKw9L1Ck7arcP rXt5w7SL6ciBYjYn6przkkqtpZjVikILC60p2WLZmq1CjZxnXb79/s/7/J8bL43JnhHL6HR1 Lq9RKzMVZCBu6f1pjyycjkuN+WGMYa29rRTbUtFEsENTHwi22vaUYF9+myTZ690mki0bKcVZ u72ZYk2OQYJ90akjWU+xDbEV9h4J22h7S7HDp+pJtqL8I7l5CWcyXCK5N4NdJDdS2Cfh7tSe 5O5/7pJwJWYD4jymFUnU3sCNaXxmej6vid50IPBwjX2MyLHSRy3Xxikt8pIFKIAGZh10m92S AhRIy5h6BCVtLkIUUwg83k+UKDwIXG01WAGi5y2tZk6M30LwteUW+dfR7B4ifHVJZgcUXW6f LxXM2BCU6ydxn8AYw5z4bkG+LDmzHWqfOCU+xplw0HcYKR9LmQSoGnZh4oQroaH53jwHMIlQ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UJStYCReRWjSGppcW56brGhXnFibnFp Xrpecn7uJkZgjG479nPzDsZLG4MPMQpwMCrx8G7YYxorxJpYVlyZe4hRgoNZSYQ3sMEsVog3 JbGyKrUoP76oNCe1+BCjKdBrE5mlRJPzgekjryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpi SWp2ampBahFMHxMHp1QDo4dnYqTYIYeDK76yqeUHr0kSYdAN1zhyIHDJqiydlUoHD9t/7pR5 xbRBIHRdDs/a+NKZP4WfinkEp5k8MprIyGjjl2mucuHnU4bdthnTr//wNaoSL/P9Mbs78dCl 3cbyn03r5Xi4Tv1qkMk2/xvna7V6WeW7f/19S+qUqqx6dRTsHjEFumcrsRRnJBpqMRcVJwIA IsA9K+cCAAA= X-CMS-MailID: 20190723122027eucas1p124f44370a63b16dcb765585761d661a3 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190723122027eucas1p124f44370a63b16dcb765585761d661a3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190723122027eucas1p124f44370a63b16dcb765585761d661a3 References: <20190723122016.30279-1-a.swigon@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The exynos-bus devfreq driver is extended with interconnect functionality by a subsequent patch. This patch removes a check from the interconnect framework that prevents interconnect from working on exynos-bus, in which every bus is a separate interconnect provider. Signed-off-by: Artur Świgoń --- drivers/interconnect/core.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c index 2556fd6d1863..bb55565d190c 100644 --- a/drivers/interconnect/core.c +++ b/drivers/interconnect/core.c @@ -219,11 +219,8 @@ static int apply_constraints(struct icc_path *path) for (i = 0; i < path->num_nodes; i++) { next = path->reqs[i].node; - /* - * Both endpoints should be valid master-slave pairs of the - * same interconnect provider that will be configured. - */ - if (!prev || next->provider != prev->provider) { + /* both endpoints should be valid master-slave pairs */ + if (!prev) { prev = next; continue; } -- 2.17.1