[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zl58XNl8fhJU24OV@google.com>
Date: Tue, 4 Jun 2024 02:30:52 +0000
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: Mario Limonciello <mario.limonciello@....com>
Cc: Ben Walsh <ben@...nut.com>, Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
"Dustin L. Howett" <dustin@...ett.net>,
Kieran Levin <ktl@...me.work>,
Thomas Weißschuh <linux@...ssschuh.net>,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] platform/chrome: cros_ec_lpc: Add a new quirk for
ACPI id
On Mon, Jun 03, 2024 at 11:00:22AM -0500, Mario Limonciello wrote:
> On 6/3/2024 04:30, Tzung-Bi Shih wrote:
> > On Mon, Jun 03, 2024 at 07:38:32AM +0100, Ben Walsh wrote:
> > > @@ -436,6 +463,8 @@ static int cros_ec_lpc_probe(struct platform_device *pdev)
> > > ec_lpc->mmio_memory_base = EC_LPC_ADDR_MEMMAP;
> > > + adev = ACPI_COMPANION(dev);
> > > +
> >
> > The change is irrelevant to the patch.
>
> It looks relevant to me. The companion needs to get set before the quirk
> overwrites it.
Please see code for CROS_EC_LPC_QUIRK_ACPI_ID in the patch, `adev` is going to
be overridden soon. I don't see why the ACPI_COMPANION() needs to move here.
Powered by blists - more mailing lists