From: Sasha Levin <sasha.levin@oracle.com>
To: stable@vger.kernel.org, stable-commits@vger.kernel.org
Cc: sasha.levin@oracle.com
Subject: [PATCH 3.18 002/178] ACPI / PNP: add two IDs to list for PNPACPI device enumeration
Date: Mon, 8 Jun 2015 09:39:38 -0400 [thread overview]
Message-ID: <1433770954-1771-3-git-send-email-sasha.levin@oracle.com> (raw)
In-Reply-To: <1433770954-1771-1-git-send-email-sasha.levin@oracle.com>
From: Witold Szczeponik <Witold.Szczeponik@gmx.net>
[ 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c
index b193f84..ff6d8ad 100644
--- a/drivers/acpi/acpi_pnp.c
+++ b/drivers/acpi/acpi_pnp.c
@@ -304,6 +304,8 @@ static const struct acpi_device_id acpi_pnp_device_ids[] = {
{"PNPb006"},
/* cs423x-pnpbios */
{"CSC0100"},
+ {"CSC0103"},
+ {"CSC0110"},
{"CSC0000"},
{"GIM0100"}, /* Guillemot Turtlebeach something appears to be cs4232 compatible */
/* es18xx-pnpbios */
--
2.1.0
next prev parent reply other threads:[~2015-06-08 13:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 13:39 [PATCH 3.18 000/178] 3.18.15-review Sasha Levin
2015-06-08 13:39 ` [PATCH 3.18 001/178] ACPI / SBS: Add 5 us delay to fix SBS hangs on MacBook Sasha Levin
2015-06-08 13:39 ` Sasha Levin [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-06-08 13:39 [PATCH 3.18 000/178] 3.18.15-review Sasha Levin
2015-06-08 13:39 ` [PATCH 3.18 002/178] ACPI / PNP: add two IDs to list for PNPACPI device enumeration Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1433770954-1771-3-git-send-email-sasha.levin@oracle.com \
--to=sasha.levin@oracle.com \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox