]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI / PNP: add two IDs to list for PNPACPI device enumeration
authorWitold Szczeponik <Witold.Szczeponik@gmx.net>
Fri, 1 May 2015 17:05:20 +0000 (19:05 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 23 May 2015 19:42:32 +0000 (15:42 -0400)
commitdc0ddaa4384328e6d14c28627e1ad5bcc5d2bff5
tree9684ee346a3319488909bbf6e469f0bc67ce3e5c
parent834706a238191385c41c9368cb231dee75380ae5
ACPI / PNP: add two IDs to list for PNPACPI device enumeration

[ Upstream commit 622532bb2fad8fe342fb685727ae0be566f6be5d ]

Commit eec15edbb0e1 (ACPI / PNP: use device ID list for PNPACPI device
enumeration) changed the way how ACPI devices are enumerated and when
they are added to the PNP bus.

However, it broke the sound card support on (at least) a vintage
IBM ThinkPad 600E: with said commit applied, two of the necessary
"CSC01xx" devices are not added to the PNP bus and hence can not be
found during the initialization of the "snd-cs4236" module.  As a
consequence, loading "snd-cs4236" causes null pointer exceptions.
The attached patch fixes the problem end re-enables sound on the
IBM ThinkPad 600E.

Fixes: eec15edbb0e1 (ACPI / PNP: use device ID list for PNPACPI device enumeration)
Signed-off-by: Witold Szczeponik <Witold.Szczeponik@gmx.net>
Cc: 3.16+ <stable@vger.kernel.org> # 3.16+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/acpi/acpi_pnp.c