Skip to content

Commit b724cc1

Browse files
committed
Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "A few last-minute regression fixes for 3.4 final kernel. All trivial, and Cc'ed to stable kernel." * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ASoC: wm8994: Fix AIF2ADC power down ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops ASoC: cs42l73: Sync digital mixer kcontrols to allow for 0dB
2 parents f8fc341 + 21363cf commit b724cc1

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

sound/pci/hda/patch_sigmatel.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4415,9 +4415,9 @@ static int stac92xx_init(struct hda_codec *codec)
44154415
def_conf = get_defcfg_connect(def_conf);
44164416
/* skip any ports that don't have jacks since presence
44174417
* detection is useless */
4418-
if (def_conf != AC_JACK_PORT_COMPLEX) {
4419-
if (def_conf != AC_JACK_PORT_NONE)
4420-
stac_toggle_power_map(codec, nid, 1);
4418+
if (def_conf != AC_JACK_PORT_NONE &&
4419+
!is_jack_detectable(codec, nid)) {
4420+
stac_toggle_power_map(codec, nid, 1);
44214421
continue;
44224422
}
44234423
if (enable_pin_detect(codec, nid, STAC_PWR_EVENT)) {

sound/soc/codecs/cs42l73.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -568,22 +568,22 @@ static const struct snd_kcontrol_new cs42l73_snd_controls[] = {
568568
attn_tlv),
569569

570570
SOC_SINGLE_TLV("SPK-IP Mono Volume",
571-
CS42L73_SPKMIPMA, 0, 0x3E, 1, attn_tlv),
571+
CS42L73_SPKMIPMA, 0, 0x3F, 1, attn_tlv),
572572
SOC_SINGLE_TLV("SPK-XSP Mono Volume",
573-
CS42L73_SPKMXSPA, 0, 0x3E, 1, attn_tlv),
573+
CS42L73_SPKMXSPA, 0, 0x3F, 1, attn_tlv),
574574
SOC_SINGLE_TLV("SPK-ASP Mono Volume",
575-
CS42L73_SPKMASPA, 0, 0x3E, 1, attn_tlv),
575+
CS42L73_SPKMASPA, 0, 0x3F, 1, attn_tlv),
576576
SOC_SINGLE_TLV("SPK-VSP Mono Volume",
577-
CS42L73_SPKMVSPMA, 0, 0x3E, 1, attn_tlv),
577+
CS42L73_SPKMVSPMA, 0, 0x3F, 1, attn_tlv),
578578

579579
SOC_SINGLE_TLV("ESL-IP Mono Volume",
580-
CS42L73_ESLMIPMA, 0, 0x3E, 1, attn_tlv),
580+
CS42L73_ESLMIPMA, 0, 0x3F, 1, attn_tlv),
581581
SOC_SINGLE_TLV("ESL-XSP Mono Volume",
582-
CS42L73_ESLMXSPA, 0, 0x3E, 1, attn_tlv),
582+
CS42L73_ESLMXSPA, 0, 0x3F, 1, attn_tlv),
583583
SOC_SINGLE_TLV("ESL-ASP Mono Volume",
584-
CS42L73_ESLMASPA, 0, 0x3E, 1, attn_tlv),
584+
CS42L73_ESLMASPA, 0, 0x3F, 1, attn_tlv),
585585
SOC_SINGLE_TLV("ESL-VSP Mono Volume",
586-
CS42L73_ESLMVSPMA, 0, 0x3E, 1, attn_tlv),
586+
CS42L73_ESLMVSPMA, 0, 0x3F, 1, attn_tlv),
587587

588588
SOC_ENUM("IP Digital Swap/Mono Select", ip_swap_enum),
589589

sound/soc/codecs/wm8994.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ static int aif2clk_ev(struct snd_soc_dapm_widget *w,
11441144
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5,
11451145
WM8994_AIF2DACL_ENA |
11461146
WM8994_AIF2DACR_ENA, 0);
1147-
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5,
1147+
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_4,
11481148
WM8994_AIF2ADCL_ENA |
11491149
WM8994_AIF2ADCR_ENA, 0);
11501150

0 commit comments

Comments
 (0)