From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
Andy Shevchenko <andy@kernel.org>,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v2 2/3] platform/x86: x86-android-tablets: Add support for getting i2c_adapter by PCI parent devname()
Date: Wed, 6 Nov 2024 15:25:59 +0200 (EET) [thread overview]
Message-ID: <f1911338-37fb-931e-5045-20029a5897f0@linux.intel.com> (raw)
In-Reply-To: <20b471ed-2e49-4a45-9b1c-25d9c2a181dd@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]
On Tue, 5 Nov 2024, Hans de Goede wrote:
> Hi,
>
> On 5-Nov-24 9:22 AM, Andy Shevchenko wrote:
> > On Mon, Nov 4, 2024 at 10:09 PM Hans de Goede <hdegoede@redhat.com> wrote:
> >>
> >> On the Vexia EDU ATLA 10 tablet, which ships with Android + a custom Linux
> >> (guadalinex) using the custom Android kernel the I2C controllers are not
> >> enumerated as ACPI devices as they typically are.
> >>
> >> Instead they are enumerated as PCI devices which do not have ACPI firmware
> >> nodes associated with them, so getting the i2c_adapter by the ACPI path of
> >> its firmware node does not work.
> >>
> >> Add support for getting the i2c_adapter by the devname() of its PCI parent
> >> instead.
> >
> > Reviewed-by: Andy Shevchenko <andy@kernel.org>
> >
> > ...
> >
> >> struct i2c_board_info board_info = client_info->board_info;
> >> - struct i2c_adapter *adap;
> >> + struct i2c_adapter *adap = NULL;
> >
> > Unneeded change.
>
> Ack I noticed this myself and I thought I had dropped this change,
> but apparently I did not.
>
> Ilpo can you fix this up while merging or do you want a v3 series?
Thanks both.
I removed this change while applying. I also made minor adjustments to the
braces in the patch 3 for stylish consistency.
--
i.
next prev parent reply other threads:[~2024-11-06 13:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 20:08 [PATCH v2 0/3] platform/x86: x86-android-tablets: Add support for Vexia EDU ATLA 10 tablet Hans de Goede
2024-11-04 20:08 ` [PATCH v2 1/3] platform/x86: x86-android-tablets: Add get_i2c_adap_by_handle() helper Hans de Goede
2024-11-05 8:21 ` Andy Shevchenko
2024-11-05 9:37 ` Ilpo Järvinen
2024-11-05 10:45 ` Hans de Goede
2024-11-04 20:08 ` [PATCH v2 2/3] platform/x86: x86-android-tablets: Add support for getting i2c_adapter by PCI parent devname() Hans de Goede
2024-11-05 8:22 ` Andy Shevchenko
2024-11-05 10:47 ` Hans de Goede
2024-11-06 13:25 ` Ilpo Järvinen [this message]
2024-11-06 21:18 ` Hans de Goede
2024-11-04 20:08 ` [PATCH v2 3/3] platform/x86: x86-android-tablets: Add support for Vexia EDU ATLA 10 tablet Hans de Goede
2024-11-05 8:28 ` Andy Shevchenko
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=f1911338-37fb-931e-5045-20029a5897f0@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=andy@kernel.org \
--cc=hdegoede@redhat.com \
--cc=platform-driver-x86@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox