Skip to content

Commit f342ac0

Browse files
ossilatortiwai
authored andcommitted
ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
The BIOS botches this one completely - it says the 2nd S/PDIF output is used, while in fact it's the 1st one. This is tested on DP45SG, but I'm assuming it's valid for the other boards in the series as well. Also add some comments regarding the pins. FWIW, the codec is apparently still sold by Tempo Semiconductor, Inc., where one can download the documentation. Signed-off-by: Oswald Buddenhagen <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent c17f8fd commit f342ac0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sound/pci/hda/patch_sigmatel.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,6 +1707,7 @@ static const struct snd_pci_quirk stac925x_fixup_tbl[] = {
17071707
};
17081708

17091709
static const struct hda_pintbl ref92hd73xx_pin_configs[] = {
1710+
// Port A-H
17101711
{ 0x0a, 0x02214030 },
17111712
{ 0x0b, 0x02a19040 },
17121713
{ 0x0c, 0x01a19020 },
@@ -1715,9 +1716,12 @@ static const struct hda_pintbl ref92hd73xx_pin_configs[] = {
17151716
{ 0x0f, 0x01014010 },
17161717
{ 0x10, 0x01014020 },
17171718
{ 0x11, 0x01014030 },
1719+
// CD in
17181720
{ 0x12, 0x02319040 },
1721+
// Digial Mic ins
17191722
{ 0x13, 0x90a000f0 },
17201723
{ 0x14, 0x90a000f0 },
1724+
// Digital outs
17211725
{ 0x22, 0x01452050 },
17221726
{ 0x23, 0x01452050 },
17231727
{}
@@ -1758,13 +1762,17 @@ static const struct hda_pintbl alienware_m17x_pin_configs[] = {
17581762
};
17591763

17601764
static const struct hda_pintbl intel_dg45id_pin_configs[] = {
1765+
// Analog outputs
17611766
{ 0x0a, 0x02214230 },
17621767
{ 0x0b, 0x02A19240 },
17631768
{ 0x0c, 0x01013214 },
17641769
{ 0x0d, 0x01014210 },
17651770
{ 0x0e, 0x01A19250 },
17661771
{ 0x0f, 0x01011212 },
17671772
{ 0x10, 0x01016211 },
1773+
// Digital output
1774+
{ 0x22, 0x01451380 },
1775+
{ 0x23, 0x40f000f0 },
17681776
{}
17691777
};
17701778

0 commit comments

Comments
 (0)