Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp477477pxb; Mon, 16 Aug 2021 09:39:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwohUgBT96+LP36oP/ttnN8qLRpBccrpL+BwKlgFU3yTATumTEM+beSdXiSfgux550onEgQ X-Received: by 2002:a05:6638:3460:: with SMTP id q32mr1824115jav.82.1629131980381; Mon, 16 Aug 2021 09:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629131980; cv=none; d=google.com; s=arc-20160816; b=UA3bQ1CoOS896CbMj0VH8NCHDuUeKnLfCx+eVqMdf0Hid6+1/nk2Ybcs2LXVn6D7em qJ9lQZTqq1qoU3XYQ1n8mcXJWjegEEwc/g64gQRRz9RiZQ3q7JhGhP/keMaEbKwGqTlJ gEm22O9R0L9kvM+uzEKOusqKllOGFa4KXZNwYH6Ks9tACTsXrbUZIYqhpgONiuSnkW5e WE10tszmeBNKeqb2O1AIN8gzyllj1VecEHrmgRsbAgvq1htkE1ruboacw7fKymaX1Nlk 9IUDZJYdhzFvDhRk6TztdDhih1pUuWYfjEue8je8ptF2uPeFCY+olPWUjm/REKRUzPDw JNlw== 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; bh=ix8+ma2hRSRB6TsuMzzL4P2LquTNuBRuyajxTyn+CcA=; b=xWCzd7xq8PtsuZhesp8LY9TI/RLdLn1owU4tAI6DbL6QCFnAtxWchXYhGqPFbrcQHp vADJL17nG0KGl8PZ+b324CWqYDELFIyGOZpOiXR8mhp9Zr5oMHQ56KBhxv4iXPsbgn7O 3/Hc7OKUL37vElW+42Uktf9R8bzm862e5dnyoG3Vl1fpHYChbId5pBDqOVdi7KgDKrcd xJaf80qtsb6gQb0O28Tsp7a7Zd4O4N5MKMyx4NnEBu68zeAk6zV3qDvduwQGVAM6impQ d8V1YZQX3MI4VzxVae6KL6ZfwUWRd0/XOjG9fFRmed2j1AwSDfARhtU+Ggg92hTEgapU KWgw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si10962327iow.13.2021.08.16.09.39.27; Mon, 16 Aug 2021 09:39:40 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbhHPQhh (ORCPT + 99 others); Mon, 16 Aug 2021 12:37:37 -0400 Received: from mail-ot1-f49.google.com ([209.85.210.49]:41769 "EHLO mail-ot1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbhHPQhh (ORCPT ); Mon, 16 Aug 2021 12:37:37 -0400 Received: by mail-ot1-f49.google.com with SMTP id c2-20020a0568303482b029048bcf4c6bd9so21620896otu.8; Mon, 16 Aug 2021 09:37:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ix8+ma2hRSRB6TsuMzzL4P2LquTNuBRuyajxTyn+CcA=; b=nyRA2qe3j2vFJ0zPJhJlCpgWN++1sPHooxMV3MpoMCjg6BNehiAh3nSPRghWfc74BS kipAz0f17pOO10VgpHg3wQWeV/pE5obfxddmwGBL+ickeIURCfhj8W3JZw2aKGvlOl/1 KonrzTCIBwIQkysquj/mr5L8IBbdeXdDoTOt4GhdiqoQthitzNzsrO31VOOcJCxdCCna FbQLQwVE2sXlTD38wK/0Dy/iX29Z0pw+fDbsyJpjdQ6xdr3jxt0/BxFK6V/9WI88ExN4 rHfhDLd1KDqBBvQhV4Ihem86yZqoawAxA4tFjoaLQv4ZyQSsWbQzDxF7m0BpDo0Y+jDY Or4g== X-Gm-Message-State: AOAM530uGSe7n8ZdgsPfY7hkKSn5ioAX5Tr5zSqyg5yHCZBjvf8TFCww EdYyoS72leaVazVmXVRUIwGE+JJoGaFIbeKITuY= X-Received: by 2002:a9d:7396:: with SMTP id j22mr8155544otk.206.1629131825161; Mon, 16 Aug 2021 09:37:05 -0700 (PDT) MIME-Version: 1.0 References: <20210806220906.326758-1-djrscally@gmail.com> In-Reply-To: <20210806220906.326758-1-djrscally@gmail.com> From: "Rafael J. Wysocki" Date: Mon, 16 Aug 2021 18:36:54 +0200 Message-ID: Subject: Re: [PATCH RESEND v3 0/2] Check for endpoints in fwnode->secondary more sensibly To: Daniel Scally Cc: Linux Kernel Mailing List , ACPI Devel Maling List , Greg Kroah-Hartman , "Rafael J. Wysocki" , Andy Shevchenko , Laurent Pinchart Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 7, 2021 at 12:09 AM Daniel Scally wrote: > > Hello all > > A while ago I patched fwnode_graph_get_endpoint_by_id() to check for endpoints > against fwnode->secondary if none was found against the primary. It's actually > better to do this in fwnode_graph_get_next_endpoint() instead, since that > function is called by fwnode_graph_get_endpoint_by_id() and also directly called > in a bunch of other places (primarily sensor drivers checking that they have > endpoints connected during probe). This small series just adds the equivalent > functionality to fwnode_graph_get_next_endpoint() and reverts the earlier > commit. > > Resending with +CC linux-acpi Both patches applied as 5.15 material, thanks!