Re: [PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 07:31:24PM +0300, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 13:12 -0700, Dmitry Torokhov wrote: > > On Thu, Mar 23, 2017 at 09:46:14PM +0200, Andy Shevchenko wrote: > > > The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio > > > lookups") > > > prevents to ge

Re: [PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-28 Thread Andy Shevchenko
On Thu, 2017-03-23 at 13:12 -0700, Dmitry Torokhov wrote: > On Thu, Mar 23, 2017 at 09:46:14PM +0200, Andy Shevchenko wrote: > > The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio > > lookups") > > prevents to getting same resource twice if the driver asks twice > > using same > > s/sa

Re: [PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-24 Thread Bastien Nocera
On Thu, 2017-03-23 at 13:12 -0700, Dmitry Torokhov wrote: > > > To prevent the possible misconfiguration tighten up even more ACPI > > GPIO lookups > > for case without connection ID provided. > > I wonder if this will break Goodix. Irina, Bastien? My Goodix tablet has been on the fritz for nea

Re: [PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-23 Thread Dmitry Torokhov
On Thu, Mar 23, 2017 at 09:46:14PM +0200, Andy Shevchenko wrote: > The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio lookups") > prevents to getting same resource twice if the driver asks twice using same s/same/different/ > connection ID. > > But the whole idea of fallback might br

[PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-23 Thread Andy Shevchenko
The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio lookups") prevents to getting same resource twice if the driver asks twice using same connection ID. But the whole idea of fallback might bring some problems. Imagine the case when we have two versions of BIOS/hardware where in one _DS