X86 platform drivers
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.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 22:18:29 +0100	[thread overview]
Message-ID: <2cf9bcb3-8488-4bf7-818e-2be7832a4dea@redhat.com> (raw)
In-Reply-To: <f1911338-37fb-931e-5045-20029a5897f0@linux.intel.com>

Hi,

On 6-Nov-24 2:25 PM, Ilpo Järvinen wrote:
> 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.

Great, Thank you for merging these.

Regards,

Hans



  reply	other threads:[~2024-11-06 21:18 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
2024-11-06 21:18         ` Hans de Goede [this message]
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=2cf9bcb3-8488-4bf7-818e-2be7832a4dea@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=andy@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.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