diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-02-25 09:32:01 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-02-29 05:28:15 -0500 |
commit | fb304ce53afbb653bfa67cc81ee9cf06edcbf68e (patch) | |
tree | d00260e3309f793fd2145efd79baedbcb4eed1fe /sound/pci | |
parent | 20cde9e8f83711dca532c49605914d50292d9ce5 (diff) |
[ALSA] hda-codec - Fix AD1988 capture elements
The some indices of capture elements of AD1988 are wrongly assigned.
This patch fixes it. See ALSA bug#3795
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3795
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 19f08846d6fc..c8649282c2cf 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -1778,9 +1778,9 @@ static hda_nid_t ad1988_capsrc_nids[3] = { | |||
1778 | static struct hda_input_mux ad1988_6stack_capture_source = { | 1778 | static struct hda_input_mux ad1988_6stack_capture_source = { |
1779 | .num_items = 5, | 1779 | .num_items = 5, |
1780 | .items = { | 1780 | .items = { |
1781 | { "Front Mic", 0x0 }, | 1781 | { "Front Mic", 0x1 }, /* port-B */ |
1782 | { "Line", 0x1 }, | 1782 | { "Line", 0x2 }, /* port-C */ |
1783 | { "Mic", 0x4 }, | 1783 | { "Mic", 0x4 }, /* port-E */ |
1784 | { "CD", 0x5 }, | 1784 | { "CD", 0x5 }, |
1785 | { "Mix", 0x9 }, | 1785 | { "Mix", 0x9 }, |
1786 | }, | 1786 | }, |
@@ -1789,7 +1789,7 @@ static struct hda_input_mux ad1988_6stack_capture_source = { | |||
1789 | static struct hda_input_mux ad1988_laptop_capture_source = { | 1789 | static struct hda_input_mux ad1988_laptop_capture_source = { |
1790 | .num_items = 3, | 1790 | .num_items = 3, |
1791 | .items = { | 1791 | .items = { |
1792 | { "Mic/Line", 0x0 }, | 1792 | { "Mic/Line", 0x1 }, /* port-B */ |
1793 | { "CD", 0x5 }, | 1793 | { "CD", 0x5 }, |
1794 | { "Mix", 0x9 }, | 1794 | { "Mix", 0x9 }, |
1795 | }, | 1795 | }, |