diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-16 17:29:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-16 17:29:45 -0400 |
commit | b724cc199bc8e889569e85301e6e56b5be25b986 (patch) | |
tree | 56279c721cecc7416567f2a6f52e8b8bef385e34 /sound | |
parent | f8fc341ba4db45987e06a937348d67e392de0127 (diff) | |
parent | 21363cf0ca5c9c62e34e37422fb1d13d70d3de3c (diff) |
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
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 6 | ||||
-rw-r--r-- | sound/soc/codecs/cs42l73.c | 16 | ||||
-rw-r--r-- | sound/soc/codecs/wm8994.c | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 4742cac26aa9..2cb1e08f962a 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4415,9 +4415,9 @@ static int stac92xx_init(struct hda_codec *codec) | |||
4415 | def_conf = get_defcfg_connect(def_conf); | 4415 | def_conf = get_defcfg_connect(def_conf); |
4416 | /* skip any ports that don't have jacks since presence | 4416 | /* skip any ports that don't have jacks since presence |
4417 | * detection is useless */ | 4417 | * detection is useless */ |
4418 | if (def_conf != AC_JACK_PORT_COMPLEX) { | 4418 | if (def_conf != AC_JACK_PORT_NONE && |
4419 | if (def_conf != AC_JACK_PORT_NONE) | 4419 | !is_jack_detectable(codec, nid)) { |
4420 | stac_toggle_power_map(codec, nid, 1); | 4420 | stac_toggle_power_map(codec, nid, 1); |
4421 | continue; | 4421 | continue; |
4422 | } | 4422 | } |
4423 | if (enable_pin_detect(codec, nid, STAC_PWR_EVENT)) { | 4423 | if (enable_pin_detect(codec, nid, STAC_PWR_EVENT)) { |
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 07c44b71f096..3686417f5ea5 100644 --- a/sound/soc/codecs/cs42l73.c +++ b/sound/soc/codecs/cs42l73.c | |||
@@ -568,22 +568,22 @@ static const struct snd_kcontrol_new cs42l73_snd_controls[] = { | |||
568 | attn_tlv), | 568 | attn_tlv), |
569 | 569 | ||
570 | SOC_SINGLE_TLV("SPK-IP Mono Volume", | 570 | SOC_SINGLE_TLV("SPK-IP Mono Volume", |
571 | CS42L73_SPKMIPMA, 0, 0x3E, 1, attn_tlv), | 571 | CS42L73_SPKMIPMA, 0, 0x3F, 1, attn_tlv), |
572 | SOC_SINGLE_TLV("SPK-XSP Mono Volume", | 572 | SOC_SINGLE_TLV("SPK-XSP Mono Volume", |
573 | CS42L73_SPKMXSPA, 0, 0x3E, 1, attn_tlv), | 573 | CS42L73_SPKMXSPA, 0, 0x3F, 1, attn_tlv), |
574 | SOC_SINGLE_TLV("SPK-ASP Mono Volume", | 574 | SOC_SINGLE_TLV("SPK-ASP Mono Volume", |
575 | CS42L73_SPKMASPA, 0, 0x3E, 1, attn_tlv), | 575 | CS42L73_SPKMASPA, 0, 0x3F, 1, attn_tlv), |
576 | SOC_SINGLE_TLV("SPK-VSP Mono Volume", | 576 | SOC_SINGLE_TLV("SPK-VSP Mono Volume", |
577 | CS42L73_SPKMVSPMA, 0, 0x3E, 1, attn_tlv), | 577 | CS42L73_SPKMVSPMA, 0, 0x3F, 1, attn_tlv), |
578 | 578 | ||
579 | SOC_SINGLE_TLV("ESL-IP Mono Volume", | 579 | SOC_SINGLE_TLV("ESL-IP Mono Volume", |
580 | CS42L73_ESLMIPMA, 0, 0x3E, 1, attn_tlv), | 580 | CS42L73_ESLMIPMA, 0, 0x3F, 1, attn_tlv), |
581 | SOC_SINGLE_TLV("ESL-XSP Mono Volume", | 581 | SOC_SINGLE_TLV("ESL-XSP Mono Volume", |
582 | CS42L73_ESLMXSPA, 0, 0x3E, 1, attn_tlv), | 582 | CS42L73_ESLMXSPA, 0, 0x3F, 1, attn_tlv), |
583 | SOC_SINGLE_TLV("ESL-ASP Mono Volume", | 583 | SOC_SINGLE_TLV("ESL-ASP Mono Volume", |
584 | CS42L73_ESLMASPA, 0, 0x3E, 1, attn_tlv), | 584 | CS42L73_ESLMASPA, 0, 0x3F, 1, attn_tlv), |
585 | SOC_SINGLE_TLV("ESL-VSP Mono Volume", | 585 | SOC_SINGLE_TLV("ESL-VSP Mono Volume", |
586 | CS42L73_ESLMVSPMA, 0, 0x3E, 1, attn_tlv), | 586 | CS42L73_ESLMVSPMA, 0, 0x3F, 1, attn_tlv), |
587 | 587 | ||
588 | SOC_ENUM("IP Digital Swap/Mono Select", ip_swap_enum), | 588 | SOC_ENUM("IP Digital Swap/Mono Select", ip_swap_enum), |
589 | 589 | ||
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 6c1fe3afd4b5..2de12ebe43b5 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -1144,7 +1144,7 @@ static int aif2clk_ev(struct snd_soc_dapm_widget *w, | |||
1144 | snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5, | 1144 | snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5, |
1145 | WM8994_AIF2DACL_ENA | | 1145 | WM8994_AIF2DACL_ENA | |
1146 | WM8994_AIF2DACR_ENA, 0); | 1146 | WM8994_AIF2DACR_ENA, 0); |
1147 | snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5, | 1147 | snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_4, |
1148 | WM8994_AIF2ADCL_ENA | | 1148 | WM8994_AIF2ADCL_ENA | |
1149 | WM8994_AIF2ADCR_ENA, 0); | 1149 | WM8994_AIF2ADCR_ENA, 0); |
1150 | 1150 | ||