]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - FIX to not expose SPDIF on Thinkpad X301, since it does not have the...
authorJerone Young <jerone.young@canonical.com>
Tue, 3 Aug 2010 06:46:42 +0000 (01:46 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Aug 2010 06:57:11 +0000 (08:57 +0200)
commite98f24d894736c3c593f11ffe1bb5dd0c9c324a4
tree91cca82b163a1734bbd46599d00f7c19f73aca9b
parent039e495b9e0f48f503ebba4eea3640971844aade
ALSA: hda - FIX to not expose SPDIF on Thinkpad X301, since it does not have the ability to use SPDIF

The Lenovo X301 does not have the ability to connect to a docking
station to use the SPDIF port. It also does not have the ability to do
SPDIF though the headphone jack or Display Port jacks.

This patch fixes it so this is not exposed for the X301 and users do
think it has the ability to do SPDIF.

I tested both headphone & display port jacks and it is not there. I have
tested this patch and it works great.

Also to add the other Thinkpads have different subsystem codec IDs.
Here are examples:

X301:
http://launchpadlibrarian.net/31561902/Card0.Codecs.codec.0.txt

X200:
http://launchpadlibrarian.net/49055036/Card0.Codecs.codec.0.txt

W500:
http://launchpadlibrarian.net/36276057/Card0.Codecs.codec.0.txt

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c