]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.36.2/alsa-ac97-apply-quirk-for-dell-latitude-d610-binding-master-and-headphone-controls.patch
Fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 2.6.36.2 / alsa-ac97-apply-quirk-for-dell-latitude-d610-binding-master-and-headphone-controls.patch
CommitLineData
d86d85d9
GKH
1From 0613a59456980161d0cd468bae6c63d772743102 Mon Sep 17 00:00:00 2001
2From: Daniel T Chen <crimsun@ubuntu.com>
3Date: Mon, 1 Nov 2010 01:14:51 -0400
4Subject: ALSA: ac97: Apply quirk for Dell Latitude D610 binding Master and Headphone controls
5
6From: Daniel T Chen <crimsun@ubuntu.com>
7
8commit 0613a59456980161d0cd468bae6c63d772743102 upstream.
9
10BugLink: https://launchpad.net/bugs/669279
11
12The original reporter states: "The Master mixer does not change the
13volume from the headphone output (which is affected by the headphone
14mixer). Instead it only seems to control the on-board speaker volume.
15This confuses PulseAudio greatly as the Master channel is merged into
16the volume mix."
17
18Fix this symptom by applying the hp_only quirk for the reporter's SSID.
19The fix is applicable to all stable kernels.
20
21Reported-and-tested-by: Ben Gamari <bgamari@gmail.com>
22Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
23Signed-off-by: Takashi Iwai <tiwai@suse.de>
24Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
25
26---
27 sound/pci/intel8x0.c | 6 ++++++
28 1 file changed, 6 insertions(+)
29
30--- a/sound/pci/intel8x0.c
31+++ b/sound/pci/intel8x0.c
32@@ -1866,6 +1866,12 @@ static struct ac97_quirk ac97_quirks[] _
33 },
34 {
35 .subvendor = 0x1028,
36+ .subdevice = 0x0182,
37+ .name = "Dell Latitude D610", /* STAC9750/51 */
38+ .type = AC97_TUNE_HP_ONLY
39+ },
40+ {
41+ .subvendor = 0x1028,
42 .subdevice = 0x0186,
43 .name = "Dell Latitude D810", /* cf. Malone #41015 */
44 .type = AC97_TUNE_HP_MUTE_LED