linux/drivers/pnp
Rafael J. Wysocki a8d2239630 PNP / ACPI: Do not return errors if _DIS or _SRS are not present
The ACPI PNP subsystem returns errors from pnpacpi_set_resources()
and pnpacpi_disable_resources() if the _SRS or _DIS methods are not
present, respectively, but it should not do that, because those
methods are optional.  For this reason, modify pnpacpi_set_resources()
and pnpacpi_disable_resources(), respectively, to ignore missing _SRS
or _DIS.

This problem has been uncovered by commit 202317a573 (ACPI / scan:
Add acpi_device objects for all device nodes in the namespace) and
manifested itself by causing serial port suspend to fail on some
systems.

Fixes: 202317a573 (ACPI / scan: Add acpi_device objects for all device nodes in the namespace)
References: https://bugzilla.kernel.org/show_bug.cgi?id=74371
Reported-by: wxg4net <wxg4net@gmail.com>
Reported-and-tested-by: <nonproffessional@gmail.com>
Cc: 3.14+ <stable@vger.kernel.org> # 3.14+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-04-30 22:36:33 +02:00
..
isapnp isapnp: switch to fixed_size_llseek() 2013-06-29 12:57:48 +04:00
pnpacpi PNP / ACPI: Do not return errors if _DIS or _SRS are not present 2014-04-30 22:36:33 +02:00
pnpbios asmlinkage, pnp: Make variables used from assembler code visible 2014-02-13 18:12:27 -08:00
base.h PNP: convert bus code to use dev_groups 2013-10-16 18:36:02 -07:00
card.c PNP / card: add missing put_device() call 2014-01-05 22:50:06 +01:00
core.c Merge branch 'pnp' into release 2011-01-12 04:59:44 -05:00
driver.c PNP: fix restoring devices after hibernation 2013-12-05 02:01:55 +01:00
interface.c PNP: convert bus code to use dev_groups 2013-10-16 18:36:02 -07:00
Kconfig
Makefile PNP: Compile all pnp built-in stuff in one module namespace 2010-10-27 02:23:44 -04:00
manager.c pnp: restore automatic resolution of DMA conflicts 2013-05-22 00:21:02 +02:00
quirks.c PNP: Fix compile error in quirks.c 2014-04-29 23:31:15 +02:00
resource.c PNP: remove deprecated IRQF_DISABLED 2014-03-21 01:10:28 +01:00
support.c PNPACPI: add bus number support 2010-03-14 20:08:38 -04:00
system.c vsprintf: use %pR, %pr instead of %pRt, %pRf 2009-11-04 13:06:41 -08:00