diff options
Diffstat (limited to 'sound')
| -rw-r--r-- | sound/pci/hda/patch_hdmi.c | 5 | ||||
| -rw-r--r-- | sound/pci/hda/patch_realtek.c | 9 | ||||
| -rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 15 | ||||
| -rw-r--r-- | sound/soc/codecs/cx20442.c | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/wm8903.c | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/wm8903.h | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/wm8994.c | 202 | ||||
| -rw-r--r-- | sound/soc/codecs/wm_hubs.c | 3 | ||||
| -rw-r--r-- | sound/soc/imx/eukrea-tlv320.c | 2 | ||||
| -rw-r--r-- | sound/soc/pxa/e740_wm9705.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/e750_wm9705.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/e800_wm9712.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/em-x270.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/mioa701_wm9713.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/palm27x.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/tosa.c | 4 | ||||
| -rw-r--r-- | sound/soc/pxa/zylonite.c | 4 | ||||
| -rw-r--r-- | sound/soc/soc-dapm.c | 23 |
18 files changed, 250 insertions, 47 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index bb4930484ec4..251773e45f61 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
| @@ -1638,6 +1638,9 @@ static struct hda_codec_preset snd_hda_preset_hdmi[] = { | |||
| 1638 | { .id = 0x10de0012, .name = "GPU 12 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1638 | { .id = 0x10de0012, .name = "GPU 12 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| 1639 | { .id = 0x10de0013, .name = "GPU 13 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1639 | { .id = 0x10de0013, .name = "GPU 13 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| 1640 | { .id = 0x10de0014, .name = "GPU 14 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1640 | { .id = 0x10de0014, .name = "GPU 14 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| 1641 | { .id = 0x10de0015, .name = "GPU 15 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | ||
| 1642 | { .id = 0x10de0016, .name = "GPU 16 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | ||
| 1643 | /* 17 is known to be absent */ | ||
| 1641 | { .id = 0x10de0018, .name = "GPU 18 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1644 | { .id = 0x10de0018, .name = "GPU 18 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| 1642 | { .id = 0x10de0019, .name = "GPU 19 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1645 | { .id = 0x10de0019, .name = "GPU 19 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| 1643 | { .id = 0x10de001a, .name = "GPU 1a HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, | 1646 | { .id = 0x10de001a, .name = "GPU 1a HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, |
| @@ -1680,6 +1683,8 @@ MODULE_ALIAS("snd-hda-codec-id:10de0011"); | |||
| 1680 | MODULE_ALIAS("snd-hda-codec-id:10de0012"); | 1683 | MODULE_ALIAS("snd-hda-codec-id:10de0012"); |
| 1681 | MODULE_ALIAS("snd-hda-codec-id:10de0013"); | 1684 | MODULE_ALIAS("snd-hda-codec-id:10de0013"); |
| 1682 | MODULE_ALIAS("snd-hda-codec-id:10de0014"); | 1685 | MODULE_ALIAS("snd-hda-codec-id:10de0014"); |
| 1686 | MODULE_ALIAS("snd-hda-codec-id:10de0015"); | ||
| 1687 | MODULE_ALIAS("snd-hda-codec-id:10de0016"); | ||
| 1683 | MODULE_ALIAS("snd-hda-codec-id:10de0018"); | 1688 | MODULE_ALIAS("snd-hda-codec-id:10de0018"); |
| 1684 | MODULE_ALIAS("snd-hda-codec-id:10de0019"); | 1689 | MODULE_ALIAS("snd-hda-codec-id:10de0019"); |
| 1685 | MODULE_ALIAS("snd-hda-codec-id:10de001a"); | 1690 | MODULE_ALIAS("snd-hda-codec-id:10de001a"); |
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index a0f27b999928..96cb442dc1d1 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
| @@ -1133,11 +1133,8 @@ static void alc_automute_speaker(struct hda_codec *codec, int pinctl) | |||
| 1133 | nid = spec->autocfg.hp_pins[i]; | 1133 | nid = spec->autocfg.hp_pins[i]; |
| 1134 | if (!nid) | 1134 | if (!nid) |
| 1135 | break; | 1135 | break; |
| 1136 | if (snd_hda_jack_detect(codec, nid)) { | 1136 | alc_report_jack(codec, nid); |
| 1137 | spec->jack_present = 1; | 1137 | spec->jack_present |= snd_hda_jack_detect(codec, nid); |
| 1138 | break; | ||
| 1139 | } | ||
| 1140 | alc_report_jack(codec, spec->autocfg.hp_pins[i]); | ||
| 1141 | } | 1138 | } |
| 1142 | 1139 | ||
| 1143 | mute = spec->jack_present ? HDA_AMP_MUTE : 0; | 1140 | mute = spec->jack_present ? HDA_AMP_MUTE : 0; |
| @@ -15014,7 +15011,7 @@ static struct snd_pci_quirk alc269_cfg_tbl[] = { | |||
| 15014 | SND_PCI_QUIRK(0x1043, 0x11e3, "ASUS U33Jc", ALC269VB_AMIC), | 15011 | SND_PCI_QUIRK(0x1043, 0x11e3, "ASUS U33Jc", ALC269VB_AMIC), |
| 15015 | SND_PCI_QUIRK(0x1043, 0x1273, "ASUS UL80Jt", ALC269VB_AMIC), | 15012 | SND_PCI_QUIRK(0x1043, 0x1273, "ASUS UL80Jt", ALC269VB_AMIC), |
| 15016 | SND_PCI_QUIRK(0x1043, 0x1283, "ASUS U53Jc", ALC269_AMIC), | 15013 | SND_PCI_QUIRK(0x1043, 0x1283, "ASUS U53Jc", ALC269_AMIC), |
| 15017 | SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82Jv", ALC269_AMIC), | 15014 | SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82JV", ALC269VB_AMIC), |
| 15018 | SND_PCI_QUIRK(0x1043, 0x12d3, "ASUS N61Jv", ALC269_AMIC), | 15015 | SND_PCI_QUIRK(0x1043, 0x12d3, "ASUS N61Jv", ALC269_AMIC), |
| 15019 | SND_PCI_QUIRK(0x1043, 0x13a3, "ASUS UL30Vt", ALC269_AMIC), | 15016 | SND_PCI_QUIRK(0x1043, 0x13a3, "ASUS UL30Vt", ALC269_AMIC), |
| 15020 | SND_PCI_QUIRK(0x1043, 0x1373, "ASUS G73JX", ALC269_AMIC), | 15017 | SND_PCI_QUIRK(0x1043, 0x1373, "ASUS G73JX", ALC269_AMIC), |
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 9ea48b425d0b..bd7b123f6440 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
| @@ -586,7 +586,12 @@ static hda_nid_t stac92hd83xxx_pin_nids[10] = { | |||
| 586 | 0x0f, 0x10, 0x11, 0x1f, 0x20, | 586 | 0x0f, 0x10, 0x11, 0x1f, 0x20, |
| 587 | }; | 587 | }; |
| 588 | 588 | ||
| 589 | static hda_nid_t stac92hd88xxx_pin_nids[10] = { | 589 | static hda_nid_t stac92hd87xxx_pin_nids[6] = { |
| 590 | 0x0a, 0x0b, 0x0c, 0x0d, | ||
| 591 | 0x0f, 0x11, | ||
| 592 | }; | ||
| 593 | |||
| 594 | static hda_nid_t stac92hd88xxx_pin_nids[8] = { | ||
| 590 | 0x0a, 0x0b, 0x0c, 0x0d, | 595 | 0x0a, 0x0b, 0x0c, 0x0d, |
| 591 | 0x0f, 0x11, 0x1f, 0x20, | 596 | 0x0f, 0x11, 0x1f, 0x20, |
| 592 | }; | 597 | }; |
| @@ -5430,12 +5435,13 @@ again: | |||
| 5430 | switch (codec->vendor_id) { | 5435 | switch (codec->vendor_id) { |
| 5431 | case 0x111d76d1: | 5436 | case 0x111d76d1: |
| 5432 | case 0x111d76d9: | 5437 | case 0x111d76d9: |
| 5438 | case 0x111d76e5: | ||
| 5433 | spec->dmic_nids = stac92hd87b_dmic_nids; | 5439 | spec->dmic_nids = stac92hd87b_dmic_nids; |
| 5434 | spec->num_dmics = stac92xx_connected_ports(codec, | 5440 | spec->num_dmics = stac92xx_connected_ports(codec, |
| 5435 | stac92hd87b_dmic_nids, | 5441 | stac92hd87b_dmic_nids, |
| 5436 | STAC92HD87B_NUM_DMICS); | 5442 | STAC92HD87B_NUM_DMICS); |
| 5437 | spec->num_pins = ARRAY_SIZE(stac92hd88xxx_pin_nids); | 5443 | spec->num_pins = ARRAY_SIZE(stac92hd87xxx_pin_nids); |
| 5438 | spec->pin_nids = stac92hd88xxx_pin_nids; | 5444 | spec->pin_nids = stac92hd87xxx_pin_nids; |
| 5439 | spec->mono_nid = 0; | 5445 | spec->mono_nid = 0; |
| 5440 | spec->num_pwrs = 0; | 5446 | spec->num_pwrs = 0; |
| 5441 | break; | 5447 | break; |
| @@ -5443,6 +5449,7 @@ again: | |||
| 5443 | case 0x111d7667: | 5449 | case 0x111d7667: |
| 5444 | case 0x111d7668: | 5450 | case 0x111d7668: |
| 5445 | case 0x111d7669: | 5451 | case 0x111d7669: |
| 5452 | case 0x111d76e3: | ||
| 5446 | spec->num_dmics = stac92xx_connected_ports(codec, | 5453 | spec->num_dmics = stac92xx_connected_ports(codec, |
| 5447 | stac92hd88xxx_dmic_nids, | 5454 | stac92hd88xxx_dmic_nids, |
| 5448 | STAC92HD88XXX_NUM_DMICS); | 5455 | STAC92HD88XXX_NUM_DMICS); |
| @@ -6387,6 +6394,8 @@ static struct hda_codec_preset snd_hda_preset_sigmatel[] = { | |||
| 6387 | { .id = 0x111d76cd, .name = "92HD89F2", .patch = patch_stac92hd73xx }, | 6394 | { .id = 0x111d76cd, .name = "92HD89F2", .patch = patch_stac92hd73xx }, |
| 6388 | { .id = 0x111d76ce, .name = "92HD89F1", .patch = patch_stac92hd73xx }, | 6395 | { .id = 0x111d76ce, .name = "92HD89F1", .patch = patch_stac92hd73xx }, |
| 6389 | { .id = 0x111d76e0, .name = "92HD91BXX", .patch = patch_stac92hd83xxx}, | 6396 | { .id = 0x111d76e0, .name = "92HD91BXX", .patch = patch_stac92hd83xxx}, |
| 6397 | { .id = 0x111d76e3, .name = "92HD98BXX", .patch = patch_stac92hd83xxx}, | ||
| 6398 | { .id = 0x111d76e5, .name = "92HD99BXX", .patch = patch_stac92hd83xxx}, | ||
| 6390 | { .id = 0x111d76e7, .name = "92HD90BXX", .patch = patch_stac92hd83xxx}, | 6399 | { .id = 0x111d76e7, .name = "92HD90BXX", .patch = patch_stac92hd83xxx}, |
| 6391 | {} /* terminator */ | 6400 | {} /* terminator */ |
| 6392 | }; | 6401 | }; |
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index bb4bf65b9e7e..0bb424af956f 100644 --- a/sound/soc/codecs/cx20442.c +++ b/sound/soc/codecs/cx20442.c | |||
| @@ -367,7 +367,7 @@ static int cx20442_codec_remove(struct snd_soc_codec *codec) | |||
| 367 | return 0; | 367 | return 0; |
| 368 | } | 368 | } |
| 369 | 369 | ||
| 370 | static const u8 cx20442_reg = CX20442_TELOUT | CX20442_MIC; | 370 | static const u8 cx20442_reg; |
| 371 | 371 | ||
| 372 | static struct snd_soc_codec_driver cx20442_codec_dev = { | 372 | static struct snd_soc_codec_driver cx20442_codec_dev = { |
| 373 | .probe = cx20442_codec_probe, | 373 | .probe = cx20442_codec_probe, |
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 987476a5895f..017d99ceb42e 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
| @@ -1482,7 +1482,7 @@ int wm8903_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, | |||
| 1482 | WM8903_MICDET_EINT | WM8903_MICSHRT_EINT, | 1482 | WM8903_MICDET_EINT | WM8903_MICSHRT_EINT, |
| 1483 | irq_mask); | 1483 | irq_mask); |
| 1484 | 1484 | ||
| 1485 | if (det && shrt) { | 1485 | if (det || shrt) { |
| 1486 | /* Enable mic detection, this may not have been set through | 1486 | /* Enable mic detection, this may not have been set through |
| 1487 | * platform data (eg, if the defaults are OK). */ | 1487 | * platform data (eg, if the defaults are OK). */ |
| 1488 | snd_soc_update_bits(codec, WM8903_WRITE_SEQUENCER_0, | 1488 | snd_soc_update_bits(codec, WM8903_WRITE_SEQUENCER_0, |
diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h index e8490f3edd03..e3ec2433b215 100644 --- a/sound/soc/codecs/wm8903.h +++ b/sound/soc/codecs/wm8903.h | |||
| @@ -165,7 +165,7 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec, | |||
| 165 | 165 | ||
| 166 | #define WM8903_VMID_RES_50K 2 | 166 | #define WM8903_VMID_RES_50K 2 |
| 167 | #define WM8903_VMID_RES_250K 3 | 167 | #define WM8903_VMID_RES_250K 3 |
| 168 | #define WM8903_VMID_RES_5K 4 | 168 | #define WM8903_VMID_RES_5K 6 |
| 169 | 169 | ||
| 170 | /* | 170 | /* |
| 171 | * R8 (0x08) - Analogue DAC 0 | 171 | * R8 (0x08) - Analogue DAC 0 |
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 37b8aa8a680f..ebaee5ca7434 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
| @@ -107,6 +107,9 @@ struct wm8994_priv { | |||
| 107 | 107 | ||
| 108 | int revision; | 108 | int revision; |
