[PATCH] [UBUNTU:sound/pci/] (1) Revert to hp_mute_led for HP n*8*0 laptops; (2) Add hp_only quirk for another Dell laptop model

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri May 12 20:04:04 UTC 2006


Subject: [PATCH] [UBUNTU:sound/pci/] (1) Revert to hp_mute_led for HP n*8*0 laptops; (2) Add hp_only quirk for another Dell laptop model

UpstreamStatus: (1) Reverted to upstream; (2) Not merged

This commit fixes the mistaken replacement of hp_mute_led for hp_only
on HP n*8*0 laptops with sub{vendor,device} id 0x103c0934. The reason
-21- didn't work was due to a duplicate entry that was removed in -22-.
Thanks to assistance from Matthew Garrett and Adolfo González Blázquez,
the source is now correct.

The above cleanup finally closes Malone #41015, #44066.

Additionally, this commit adds the sub{vendor,device} ids from the
hardware of the submitter of #36570 to the hp_only quirk.

The above addition closes Malone #36570.

Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>

---

 sound/pci/intel8x0.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

1caa17e2aeac4646bb19945f27aee4fe35317289
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index 3aa3862..f4e3801 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -1770,6 +1770,12 @@ static struct ac97_quirk ac97_quirks[] _
 	},
 	{
 		.subvendor = 0x1028,
+		.subdevice = 0x0164,
+		.name = "Dell Unknown",	/* Malone #36570 */
+		.type = AC97_TUNE_HP_ONLY
+	},
+	{
+		.subvendor = 0x1028,
 		.subdevice = 0x0191,
 		.name = "Dell Inspiron 8600",
 		.type = AC97_TUNE_HP_ONLY
@@ -1832,7 +1838,7 @@ static struct ac97_quirk ac97_quirks[] _
 		.subvendor = 0x103c,
 		.subdevice = 0x0934,
 		.name = "HP nc8220",
-		.type = AC97_TUNE_HP_ONLY /* changed from AC97_TUNE_HP_MUTE_LED, see Malone #41015 */
+		.type = AC97_TUNE_HP_MUTE_LED /* Malone #41015, #44066 */
 	},
 	{
 		.subvendor = 0x103c,
-- 
1.1.3


-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060512/b7315e0d/attachment.pgp>


More information about the kernel-team mailing list