diff options
author | Ulrich Mueller <ulm@kph.uni-mainz.de> | 2006-01-04 06:21:11 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-22 10:23:46 -0500 |
commit | d82ed2ffc2839413c20b41a271a4d8db12b0683c (patch) | |
tree | e64794c6a8341c9310a40c3552ee62196a97ebae /sound/pci/intel8x0.c | |
parent | 6c1080c1ea0ecdd541dac25e6550449390935db6 (diff) |
[ALSA] intel8x0 - Fix duplicate ac97_quirks entry
Modules: Intel8x0 driver
in recent -mm kernels additional quirks for ac97 hardware in HP laptops
have been added. However, now the list in intel8x0.c contains a duplicate,
since the HP nx6110 and nc6120 have identical subdevice ids.
This was introduced in -mm1 by the following patch:
add-new-quirk-for-devices-with-mute-leds-and-separate-headphone-volume.patch
Since the HP nx6110 and nc6120 are almost identical, both entries
should really be combined, as in the following patch. I have checked
that AC97_TUNE_HP_MUTE_LED is the right thing to do.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/intel8x0.c')
-rw-r--r-- | sound/pci/intel8x0.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 5466b1fa0cd5..2fe2a8ae82ce 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -1847,12 +1847,6 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = { | |||
1847 | }, | 1847 | }, |
1848 | { | 1848 | { |
1849 | .subvendor = 0x103c, | 1849 | .subvendor = 0x103c, |
1850 | .subdevice = 0x099c, | ||
1851 | .name = "HP nx6110", /* AD1981B */ | ||
1852 | .type = AC97_TUNE_HP_ONLY | ||
1853 | }, | ||
1854 | { | ||
1855 | .subvendor = 0x103c, | ||
1856 | .subdevice = 0x129d, | 1850 | .subdevice = 0x129d, |
1857 | .name = "HP xw8000", | 1851 | .name = "HP xw8000", |
1858 | .type = AC97_TUNE_HP_ONLY | 1852 | .type = AC97_TUNE_HP_ONLY |
@@ -1866,7 +1860,7 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = { | |||
1866 | { | 1860 | { |
1867 | .subvendor = 0x103c, | 1861 | .subvendor = 0x103c, |
1868 | .subdevice = 0x099c, | 1862 | .subdevice = 0x099c, |
1869 | .name = "HP nc6120", | 1863 | .name = "HP nx6110/nc6120", |
1870 | .type = AC97_TUNE_HP_MUTE_LED | 1864 | .type = AC97_TUNE_HP_MUTE_LED |
1871 | }, | 1865 | }, |
1872 | { | 1866 | { |