Re: [Replacement][PATCH 3/3]

2012-11-13 Thread Mika Westerberg
On Tue, Nov 13, 2012 at 04:28:50PM +0100, Rafael J. Wysocki wrote: > On Tuesday, November 13, 2012 05:18:13 PM Mika Westerberg wrote: > > On Tue, Nov 13, 2012 at 04:15:51PM +0100, Rafael J. Wysocki wrote: > > > > Could we change this so that you can pass NULL list as well (provided > > > > that >

Re: [Replacement][PATCH 3/3]

2012-11-13 Thread Rafael J. Wysocki
On Tuesday, November 13, 2012 05:18:13 PM Mika Westerberg wrote: > On Tue, Nov 13, 2012 at 04:15:51PM +0100, Rafael J. Wysocki wrote: > > > Could we change this so that you can pass NULL list as well (provided that > > > the preproc is given)? > > > > > > This is useful in case when we try to find

Re: [Replacement][PATCH 3/3]

2012-11-13 Thread Mika Westerberg
On Tue, Nov 13, 2012 at 04:15:51PM +0100, Rafael J. Wysocki wrote: > > Could we change this so that you can pass NULL list as well (provided that > > the preproc is given)? > > > > This is useful in case when we try to find the SPI/I2C device handle based > > on the ACPI serial bus resource addres

Re: [Replacement][PATCH 3/3]

2012-11-13 Thread Rafael J. Wysocki
On Tuesday, November 13, 2012 04:16:42 PM Mika Westerberg wrote: > On Tue, Nov 13, 2012 at 01:06:59PM +0100, Rafael J. Wysocki wrote: > > > I don't know any better option. > > > > Well, a better option would be to convince ACPICA to provide us different > > interfaces. :-) > > Heh, indeed. > > >

Re: [Replacement][PATCH 3/3]

2012-11-13 Thread Mika Westerberg
On Tue, Nov 13, 2012 at 01:06:59PM +0100, Rafael J. Wysocki wrote: > > I don't know any better option. > > Well, a better option would be to convince ACPICA to provide us different > interfaces. :-) Heh, indeed. > We might actually try to do that in the future, but for now we still need > _CRS t

[Replacement][PATCH 3/3]

2012-11-13 Thread Rafael J. Wysocki
On Tuesday, November 13, 2012 09:12:09 AM Mika Westerberg wrote: > On Mon, Nov 12, 2012 at 10:03:56PM +0100, Rafael J. Wysocki wrote: > > > > +static acpi_status acpi_bus_add_resource(struct acpi_resource *res, > > > > +void *context) > > > > +{ > > > > +