[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jVNXGxko+LUJ5K91UmM_Fz4Q=JN2eK1sSxO7AsDj=Gyw@mail.gmail.com>
Date: Wed, 4 Mar 2020 10:13:54 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Jian-Hong Pan <jian-hong@...lessm.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Daniel Drake <drake@...lessm.com>,
Linux ACPI <linux-acpi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux Upstreaming Team <linux@...lessm.com>
Subject: Re: [PATCH 0/6] ACPI: EC: Updates related to initialization
On Wed, Mar 4, 2020 at 3:54 AM Jian-Hong Pan <jian-hong@...lessm.com> wrote:
>
> Rafael J. Wysocki <rafael@...nel.org> 於 2020年3月4日 週三 上午6:23寫道:
> >
> > On Tue, Mar 3, 2020 at 10:09 AM Rafael J. Wysocki <rafael@...nel.org> wrote:
> > >
> > > On Tue, Mar 3, 2020 at 8:29 AM Jian-Hong Pan <jian-hong@...lessm.com> wrote:
> > > >
> > > > Rafael J. Wysocki <rafael@...nel.org> 於 2020年3月2日 週一 下午7:45寫道:
> > > > >
> >
> > [cut]
> >
> > > >
> > > > Originally, ec_install_handlers() will return the returned value from
> > > > install_gpio_irq_event_handler() from acpi_dev_gpio_irq_get(), which
> > > > is -EPROBE_DEFER, instead of -ENXIO. However, ec_install_handlers()
> > > > returns -ENXIO directly if install_gpio_irq_event_handler() returns
> > > > false in patch ("ACPI: EC: Consolidate event handler installation
> > > > code"). Here needs some modification.
> > >
> > > Thanks, I forgot about the -EPROBE_DEFER case.
> >
> > The top-most commit in the git branch at
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
> > acpi-ec-work
> >
> > has been updated to take that case into account (I think that it
> > should be spelled out explicitly or it will be very easy to overlook
> > in the future).
> >
> > Please test this one if possible.
>
> Tested the commits on some laptops including ASUS UX434DA. The
> brightness hotkeys are working now.
Thank you!
Powered by blists - more mailing lists