Skip to contentSkip to conversation

Patch "ACPI / PNP: add two IDs to list for PNPACPI device enumeration" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message May 15, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ACPI / PNP: add two IDs to list for PNPACPI device enumeration

to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
acpi-pnp-add-two-ids-to-list-for-pnpacpi-device-enumeration.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 622532bb2fad8fe342fb685727ae0be566f6be5d Mon Sep 17 00:00:00 2001

From: Witold Szczeponik <[email protected]>
Date: Fri, 1 May 2015 19:05:20 +0200
Subject: ACPI / PNP: add two IDs to list for PNPACPI device enumeration

From: Witold Szczeponik <[email protected]>

commit 622532bb2fad8fe342fb685727ae0be566f6be5d upstream.

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)
---
 drivers/acpi/acpi_pnp.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/acpi/acpi_pnp.c +2 -0
@@ -304,6 +304,8 @@ static const struct acpi_device_id acpi_
 	{"PNPb006"},
 	/* cs423x-pnpbios */
 	{"CSC0100"},
+	{"CSC0103"},
+	{"CSC0110"},
 	{"CSC0000"},
 	{"GIM0100"},		/* Guillemot Turtlebeach something appears to be cs4232 compatible */
 	/* es18xx-pnpbios */

Patches currently in stable-queue which might be from [email protected] are

queue-4.0/acpi-pnp-add-two-ids-to-list-for-pnpacpi-device-enumeration.patch