LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Daniel Scally <djrscally@gmail.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH v3 0/2] Check for endpoints in fwnode->secondary more sensibly
Date: Fri, 6 Aug 2021 20:28:35 +0100	[thread overview]
Message-ID: <cfb96395-dfe0-5363-eb64-2ed2959311e2@gmail.com> (raw)
In-Reply-To: <CAJZ5v0g1Udw1oyVSOBO1HefawDNSfHYbMK7=ggR0WKOCawCosg@mail.gmail.com>


On 06/08/2021 16:29, Rafael J. Wysocki wrote:
> On Fri, Aug 6, 2021 at 12:10 AM Daniel Scally <djrscally@gmail.com> 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.
>>
>> Thanks
>> Dan
>>
>>
>> Daniel Scally (2):
>>   device property: Check fwnode->secondary in
>>     fwnode_graph_get_next_endpoint()
>>   Revert "media: device property: Call fwnode_graph_get_endpoint_by_id()
>>     for fwnode->secondary"
>>
>>  drivers/base/property.c | 30 +++++++++++++++++++++---------
>>  1 file changed, 21 insertions(+), 9 deletions(-)
> The series looks good to me, but can you please resend it with a CC to
> linux-acpi?


Yeah sure; I'll do that shortly


      reply	other threads:[~2021-08-06 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 22:08 Daniel Scally
2021-08-05 22:08 ` [PATCH v3 1/2] device property: Check fwnode->secondary in fwnode_graph_get_next_endpoint() Daniel Scally
2021-08-05 22:08 ` [PATCH v3 2/2] Revert "media: device property: Call fwnode_graph_get_endpoint_by_id() for fwnode->secondary" Daniel Scally
2021-08-06 15:29 ` [PATCH v3 0/2] Check for endpoints in fwnode->secondary more sensibly Rafael J. Wysocki
2021-08-06 19:28   ` Daniel Scally [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cfb96395-dfe0-5363-eb64-2ed2959311e2@gmail.com \
    --to=djrscally@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --subject='Re: [PATCH v3 0/2] Check for endpoints in fwnode->secondary more sensibly' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).