Re: [PATCH] drivers: mfd: check ACPI device companion before checking resources

2015-05-13 Thread Lee Jones
On Fri, 01 May 2015, Lorenzo Pieralisi wrote: > Current code in mfd-core calls into ACPI to check resources even > on a system that booted with a DT (on kernels with both DT and ACPI > support compiled in). This triggers ACPI exceptions since we may > end up calling the ACPI interpreter when it ha

[PATCH] drivers: mfd: check ACPI device companion before checking resources

2015-05-01 Thread Lorenzo Pieralisi
Current code in mfd-core calls into ACPI to check resources even on a system that booted with a DT (on kernels with both DT and ACPI support compiled in). This triggers ACPI exceptions since we may end up calling the ACPI interpreter when it has not been initialized: "ACPI Exception: AE_BAD_PARAME